Commit 78897611 authored by Sergei Golubchik's avatar Sergei Golubchik

flush tables before the crash in the crashing test

to close all system tables
parent a117dfb0
...@@ -12,6 +12,7 @@ master-bin.000001 # ...@@ -12,6 +12,7 @@ master-bin.000001 #
master-bin.000002 # master-bin.000002 #
master-bin.000003 # master-bin.000003 #
master-bin.000004 # master-bin.000004 #
flush tables;
purge binary logs TO 'master-bin.000004'; purge binary logs TO 'master-bin.000004';
Warnings: Warnings:
Warning 1612 Being purged log master-bin.000001 was not found Warning 1612 Being purged log master-bin.000001 was not found
......
...@@ -26,6 +26,7 @@ flush logs; ...@@ -26,6 +26,7 @@ flush logs;
source include/show_binary_logs.inc; source include/show_binary_logs.inc;
remove_file $MYSQLD_DATADIR/master-bin.000001; remove_file $MYSQLD_DATADIR/master-bin.000001;
flush tables;
# there must be a warning with file names # there must be a warning with file names
replace_regex /\.[\\\/]master/master/; replace_regex /\.[\\\/]master/master/;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment