diff --git a/mysql-test/r/ctype_gbk_binlog.result b/mysql-test/r/ctype_gbk_binlog.result index a49e170ff19..39cf21d5a63 100644 --- a/mysql-test/r/ctype_gbk_binlog.result +++ b/mysql-test/r/ctype_gbk_binlog.result @@ -14,6 +14,7 @@ SET @`tcontent`:=_binary 0x50434B000900000000000000E9000000 COLLATE `binary`/*!* CALL p1(@`tcontent`); FLUSH LOGS; DROP PROCEDURE p1; +DROP TABLE IF EXISTS t2; RENAME TABLE t1 to t2; SELECT hex(f1) FROM t2; hex(f1) diff --git a/mysql-test/t/ctype_gbk_binlog.test b/mysql-test/t/ctype_gbk_binlog.test index a8f653d1b1e..114c1c8385f 100644 --- a/mysql-test/t/ctype_gbk_binlog.test +++ b/mysql-test/t/ctype_gbk_binlog.test @@ -24,6 +24,9 @@ CALL p1(@`tcontent`); FLUSH LOGS; DROP PROCEDURE p1; +--disable_warnings +DROP TABLE IF EXISTS t2; +--enable_warnings RENAME TABLE t1 to t2; let $MYSQLD_DATADIR= `select @@datadir`;