summaryrefslogtreecommitdiff
path: root/mysql-test/suite/atomic/create_table.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/atomic/create_table.test')
-rw-r--r--mysql-test/suite/atomic/create_table.test18
1 files changed, 14 insertions, 4 deletions
diff --git a/mysql-test/suite/atomic/create_table.test b/mysql-test/suite/atomic/create_table.test
index fc4413dadbc..ff53a12ebab 100644
--- a/mysql-test/suite/atomic/create_table.test
+++ b/mysql-test/suite/atomic/create_table.test
@@ -15,6 +15,9 @@
--disable_query_log
call mtr.add_suppression("InnoDB: .* does not exist in the InnoDB internal");
+# Speed up wait_until_connected_again.inc
+let NO_WSREP=1;
+RESET MASTER;
--enable_query_log
let $MYSQLD_DATADIR= `SELECT @@datadir`;
@@ -89,7 +92,9 @@ while ($e < $engine_count)
{
--source include/set_binlog_format_statement.sql
}
- RESET MASTER;
+ FLUSH BINARY LOGS;
+ --let $start_binlog_file= query_get_value(SHOW MASTER STATUS, File, 1)
+
--echo crash point: $crash
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
--disable_reconnect
@@ -111,12 +116,17 @@ while ($e < $engine_count)
--list_files $MYSQLD_DATADIR/test t*
--list_files $MYSQLD_DATADIR/test *sql*
- --let $binlog_file=master-bin.000001
+ --let $binlog_file=$start_binlog_file
+ --let $binlog_output_name=master-bin.000001
--source include/show_binlog_events.inc
if ($error)
{
- --let $binlog_file=master-bin.000002
- --source include/show_binlog_events.inc
+ --let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1)
+ --let $binlog_output_name=master-bin.000002
+ if ($binlog_file != $start_binlog_file)
+ {
+ --source include/show_binlog_events.inc
+ }
}
# Drop the tables. The warnings will show what was dropped
--disable_warnings