1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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

This commit is contained in:
Georgi Kodinov
2009-07-07 16:09:06 +03:00
parent 05e498ea3d
commit 2275faa00e
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -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`;