1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

flush tables before the crash in the crashing test

to close all system tables
This commit is contained in:
Sergei Golubchik
2010-03-20 15:12:53 +01:00
parent a117dfb087
commit 78897611b2
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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/;