mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
96665fd9cc
All statements executed by mysql_upgrade are binlogged and then are replicated to slave. This will result in some errors. The report of this bug has demonstrated some examples. Master and slave should be upgraded separately. All statements executed by mysql_upgrade will not be binlogged. --write-binlog and --skip-write-binlog options are added into mysql_upgrade. These options control whether sql statements are binlogged or not.
13 lines
392 B
Text
13 lines
392 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
DROP DATABASE IF EXISTS `#mysql50#mysqltest-1`;
|
|
CREATE DATABASE `#mysql50#mysqltest-1`;
|
|
Master position is not changed
|
|
STOP SLAVE SQL_THREAD;
|
|
Master position has been changed
|
|
DROP DATABASE `mysqltest-1`;
|
|
DROP DATABASE `#mysql50#mysqltest-1`;
|