diff options
author | unknown <lars@mysql.com> | 2004-11-03 18:23:58 +0100 |
---|---|---|
committer | unknown <lars@mysql.com> | 2004-11-03 18:23:58 +0100 |
commit | f30fce23a56993a3ca598b77bdc297831d0b279a (patch) | |
tree | 6e88240a0871cb06a9567374c0df685347e20d8e /mysql-test/r/rpl_failed_optimize.result | |
parent | 65d027bd8e7f899ecab58eaeffb935130701d555 (diff) | |
download | mariadb-git-f30fce23a56993a3ca598b77bdc297831d0b279a.tar.gz |
Fix for bug#5551 (Version 4).
The idea of the fix is that the administrative statements
OPTIMIZE TABLE, REPAIR TABLE and ANALYZE TABLE should not
generate binlog errors if there is no errors on the master.
sql/sql_parse.cc:
No binlog error generated
sql/sql_table.cc:
Documentation
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'mysql-test/r/rpl_failed_optimize.result')
-rw-r--r-- | mysql-test/r/rpl_failed_optimize.result | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/r/rpl_failed_optimize.result b/mysql-test/r/rpl_failed_optimize.result new file mode 100644 index 00000000000..1576ec60500 --- /dev/null +++ b/mysql-test/r/rpl_failed_optimize.result @@ -0,0 +1,15 @@ +stop slave; +drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; +reset master; +reset slave; +drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9; +start slave; +CREATE TABLE t1 ( a int ) ENGINE=InnoDB; +BEGIN; +INSERT INTO t1 VALUES (1); +OPTIMIZE TABLE t1; +Table Op Msg_type Msg_text +test.t1 optimize status Operation failed +OPTIMIZE TABLE non_existing; +Table Op Msg_type Msg_text +test.non_existing optimize error Table 'test.non_existing' doesn't exist |