1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug#12809202 61854: MYSQLDUMP --SINGLE-TRANSACTION

--FLUSH-LOG BREAKS CONSISTENCY

Post-fix for some failing tests.
This commit is contained in:
Nirbhay Choubey
2011-12-24 15:08:59 +05:30
parent 5e487124aa
commit 49d2790aff
3 changed files with 12 additions and 0 deletions

View File

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

View File

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

View File

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