mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
1ef87c5578
extend table names discovery (ha_discover_table_names() and Discovered_table_list) to return or optionally filter out temporary tables ("#sql..."). SHOW commands and I_S tables typically want temp table filtered out, while DROP DATABASE wants to see them too. additonally, remove the supression for the warning "Invalid (old?) table or database name" from mtr, and add it to .test files as needed (we need to test that this warning does *not* happen in drop.test)
13 lines
539 B
Text
13 lines
539 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
|
call mtr.add_suppression("table or database name 'mysqltest-1'");
|
|
DROP DATABASE IF EXISTS `#mysql50#mysqltest-1`;
|
|
CREATE DATABASE `#mysql50#mysqltest-1`;
|
|
Master position is not changed
|
|
STOP SLAVE SQL_THREAD;
|
|
include/wait_for_slave_sql_to_stop.inc
|
|
Master position has been changed
|
|
DROP DATABASE `mysqltest-1`;
|
|
DROP DATABASE `#mysql50#mysqltest-1`;
|
|
include/rpl_end.inc
|