Commit 49d2790a authored by Nirbhay Choubey's avatar Nirbhay Choubey

Bug#12809202 61854: MYSQLDUMP --SINGLE-TRANSACTION

             --FLUSH-LOG BREAKS CONSISTENCY

Post-fix for some failing tests.
parent 5e487124
...@@ -562,6 +562,8 @@ static void verbose_msg(const char *fmt, ...) ...@@ -562,6 +562,8 @@ static void verbose_msg(const char *fmt, ...)
vfprintf(stderr, fmt, args); vfprintf(stderr, fmt, args);
va_end(args); va_end(args);
fflush(stderr);
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
......
...@@ -4762,3 +4762,7 @@ UNLOCK TABLES; ...@@ -4762,3 +4762,7 @@ UNLOCK TABLES;
DROP TABLE b12809202_db.t1; DROP TABLE b12809202_db.t1;
DROP TABLE b12809202_db.t2; DROP TABLE b12809202_db.t2;
DROP DATABASE b12809202_db; DROP DATABASE b12809202_db;
#
# Delete all existing binary logs.
#
RESET MASTER;
...@@ -2243,9 +2243,15 @@ INSERT INTO b12809202_db.t2 VALUES (1), (2), (3); ...@@ -2243,9 +2243,15 @@ INSERT INTO b12809202_db.t2 VALUES (1), (2), (3);
--echo --echo
--echo #### Dump ends here #### --echo #### Dump ends here ####
# Cleanup
DROP TABLE b12809202_db.t1; DROP TABLE b12809202_db.t1;
DROP TABLE b12809202_db.t2; DROP TABLE b12809202_db.t2;
DROP DATABASE b12809202_db; DROP DATABASE b12809202_db;
--echo #
--echo # Delete all existing binary logs.
--echo #
RESET MASTER;
# Wait till we reached the initial number of concurrent sessions # Wait till we reached the initial number of concurrent sessions
--source include/wait_until_count_sessions.inc --source include/wait_until_count_sessions.inc
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