rpl_failed_optimize.test

来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· TEST 代码 · 共 24 行

TEST
24
字号
source include/have_innodb.inc;source include/master-slave.inc;## BUG#5551 "Failed OPTIMIZE TABLE is logged to binary log"# Replication should work when OPTIMIZE TABLE timeouts, and # when OPTIMIZE TABLE is executed on a non-existing table#CREATE TABLE t1 ( a int ) ENGINE=InnoDB;BEGIN;INSERT INTO t1 VALUES (1);connection master1;OPTIMIZE TABLE t1;OPTIMIZE TABLE non_existing;  sync_slave_with_master;connection master;drop table t1;sync_slave_with_master;# End of 4.1 tests

⌨️ 快捷键说明

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