1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-5309 - RENAME TABLE does not check for existence of the table's engine

fix the test case for ps-protocol
This commit is contained in:
Sergei Golubchik
2015-06-17 16:13:02 +02:00
parent 5a4c5fa211
commit a6087e7dc1
2 changed files with 5 additions and 0 deletions

View File

@ -327,6 +327,9 @@ plugin_name
#
INSTALL PLUGIN example SONAME 'ha_example';
CREATE TABLE t1(a INT) ENGINE=EXAMPLE;
SELECT * FROM t1;
a
FLUSH TABLES;
UNINSTALL PLUGIN example;
RENAME TABLE t1 TO t2;
ERROR 42S02: Table 'test.t1' doesn't exist