diff options
author | unknown <monty@narttu.mysql.fi> | 2003-07-14 14:59:26 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-07-14 14:59:26 +0300 |
commit | 128feded87350231bf7c28a870932ef54e00bbdf (patch) | |
tree | 5482f87b8f96783a2957aacd514b13f9555ec453 /mysql-test/t | |
parent | c4daa7161431dfb6258d2ac9b9effb8d2208b64b (diff) | |
download | mariadb-git-128feded87350231bf7c28a870932ef54e00bbdf.tar.gz |
Better fix for bug #791: At binlog rotation, INSERTs may not find their way into the binlog
mysql-test/t/rpl_flush_log_loop.test:
Add timer to avoid problem when 'flush logs' is executed before we have read all data from master
sql/log.cc:
Better fix for bug #791:
Mark log as LOG_TO_BE_OPENED instead of LOG_CLOSED when it's closed and opened.
sql/mysqld.cc:
Better startup message
sql/slave.cc:
Fix argument to close()
sql/sql_class.h:
Better handling of log.close()
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/rpl_flush_log_loop.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_flush_log_loop.test b/mysql-test/t/rpl_flush_log_loop.test index c68fbb7111a..8a3da1a2b02 100644 --- a/mysql-test/t/rpl_flush_log_loop.test +++ b/mysql-test/t/rpl_flush_log_loop.test @@ -14,6 +14,7 @@ slave stop; eval change master to master_host='127.0.0.1',master_user='root', master_password='',master_port=$SLAVE_MYPORT; slave start; +sleep 5; flush logs; sleep 5; --replace_result $SLAVE_MYPORT SLAVE_PORT |