Commit 2275faa0 authored by Georgi Kodinov's avatar Georgi Kodinov

fixed a failing test ctype_gbk_binlog : Table 't2' already exists

parent 05e498ea
...@@ -14,6 +14,7 @@ SET @`tcontent`:=_binary 0x50434B000900000000000000E9000000 COLLATE `binary`/*!* ...@@ -14,6 +14,7 @@ SET @`tcontent`:=_binary 0x50434B000900000000000000E9000000 COLLATE `binary`/*!*
CALL p1(@`tcontent`); CALL p1(@`tcontent`);
FLUSH LOGS; FLUSH LOGS;
DROP PROCEDURE p1; DROP PROCEDURE p1;
DROP TABLE IF EXISTS t2;
RENAME TABLE t1 to t2; RENAME TABLE t1 to t2;
SELECT hex(f1) FROM t2; SELECT hex(f1) FROM t2;
hex(f1) hex(f1)
......
...@@ -24,6 +24,9 @@ CALL p1(@`tcontent`); ...@@ -24,6 +24,9 @@ CALL p1(@`tcontent`);
FLUSH LOGS; FLUSH LOGS;
DROP PROCEDURE p1; DROP PROCEDURE p1;
--disable_warnings
DROP TABLE IF EXISTS t2;
--enable_warnings
RENAME TABLE t1 to t2; RENAME TABLE t1 to t2;
let $MYSQLD_DATADIR= `select @@datadir`; let $MYSQLD_DATADIR= `select @@datadir`;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment