rpl_failed_optimize.test
Upload User: romrleung
Upload Date: 2022-05-23
Package Size: 18897k
Code Size: 0k
Category:

MySQL

Development Platform:

Visual C++

  1. source include/have_innodb.inc;
  2. source include/master-slave.inc;
  3. #
  4. # BUG#5551 "Failed OPTIMIZE TABLE is logged to binary log"
  5. # Replication should work when OPTIMIZE TABLE timeouts, and 
  6. # when OPTIMIZE TABLE is executed on a non-existing table
  7. #
  8. CREATE TABLE t1 ( a int ) ENGINE=InnoDB;
  9. BEGIN;
  10. INSERT INTO t1 VALUES (1);
  11. connection master1;
  12. OPTIMIZE TABLE t1;
  13. OPTIMIZE TABLE non_existing;  
  14. sync_slave_with_master;
  15. # End of 4.1 tests