⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rpl_row_drop.test

📁 开启mysql的远程连接的方法 mysql-noinstall-5.1.6-alpha-win32.zip
💻 TEST
字号:
-- source include/have_binlog_format_row.inc-- source include/master-slave.inc# Bug#12415: DROP of temporary table on master stops slaveconnection master;--echo **** On Master ****CREATE TABLE t1 (a int);CREATE TABLE t2 (a int);CREATE TEMPORARY TABLE t2 (a int, b int);SHOW TABLES;sync_slave_with_master;--echo **** On Slave ****SHOW TABLES;connection master;--echo **** On Master ****DROP TABLE t2;        # Dropping the temporary tableSHOW TABLES;sync_slave_with_master;--echo **** On Slave ****SHOW TABLES;          # There should be two tables on the slaveconnection master;--echo **** On Master ****CREATE TEMPORARY TABLE t2 (a int, b int);SHOW TABLES;sync_slave_with_master;--echo **** On Slave ****SHOW TABLES;connection master;--echo **** On Master ****# Should drop the non-temporary table t1 and the temporary table t2DROP TABLE t1,t2;let $VERSION=`select version()`;--replace_result $VERSION VERSIONSHOW BINLOG EVENTS;SHOW TABLES;sync_slave_with_master;--echo **** On Slave ****SHOW TABLES;--disable_query_log--disable_warningsconnection master;DROP TABLE IF EXISTS t2;sync_slave_with_master;--enable_warnings--enable_query_log

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -