mariadb/mysql-test/t/rpl_alter_db.test
unknown c6ee60933d BUG#17521 alter database crashes slave
Problem was a null pointer
Fixed by passing correct database name to slave filtering mechanism
Added test.


sql/sql_parse.cc:
  Fix slave crash when issuing 'ALTER DATABASE' with specifying db name
  Don't pass null pointer to db_ok_with_wild_table()
2006-02-23 23:20:29 -05:00

10 lines
215 B
Text

source include/master-slave.inc;
connection master;
use mysql; # to be different from initial `test' db of mysqltest client
alter database collate latin1_bin;
save_master_pos;
connection slave;
sync_with_master;