Current Path : /home/usr.opt/mysql57/mysql-test/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/t/warnings_engine_disabled.test |
# # Only run this test with a compiled in but disabled # engine # let $federated_support = `select engine from information_schema.engines where engine = 'FEDERATED'`; if(!$federated_support) { skip "Test need FEDERATED engine"; } # # Test for using disabled engine # The server will throw an error - since FEDERATED is disabled # --ERROR ER_UNKNOWN_STORAGE_ENGINE create table t1 (id int) engine=FEDERATED; --ERROR ER_UNKNOWN_STORAGE_ENGINE alter table t1 engine=FEDERATED; --ERROR ER_BAD_TABLE_ERROR drop table t1; # # Bug#29263 disabled storage engines omitted in SHOW ENGINES # SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='FEDERATED'; SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME='FEDERATED';