diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-06-17 16:13:02 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-06-17 16:13:02 +0200 |
commit | a6087e7dc1ef3561d8189c8db15e9591d0f9b520 (patch) | |
tree | c1226f82509abc2f014030b4b5ce4138c8afc930 /mysql-test | |
parent | 5a4c5fa211e72fc6d32c2c2afcfb596e5949213a (diff) | |
download | mariadb-git-a6087e7dc1ef3561d8189c8db15e9591d0f9b520.tar.gz |
MDEV-5309 - RENAME TABLE does not check for existence of the table's enginemariadb-10.0.20
fix the test case for ps-protocol
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/plugin.result | 3 | ||||
-rw-r--r-- | mysql-test/t/plugin.test | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/plugin.result b/mysql-test/r/plugin.result index 3a2bb32b13d..510c812a30f 100644 --- a/mysql-test/r/plugin.result +++ b/mysql-test/r/plugin.result @@ -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 diff --git a/mysql-test/t/plugin.test b/mysql-test/t/plugin.test index 9c2a408b612..13e2c71fbc4 100644 --- a/mysql-test/t/plugin.test +++ b/mysql-test/t/plugin.test @@ -259,6 +259,8 @@ select plugin_name from information_schema.plugins where plugin_library like 'ha --echo # INSTALL PLUGIN example SONAME 'ha_example'; CREATE TABLE t1(a INT) ENGINE=EXAMPLE; +SELECT * FROM t1; +FLUSH TABLES; UNINSTALL PLUGIN example; --error ER_NO_SUCH_TABLE RENAME TABLE t1 TO t2; |