mariadb/mysql-test/r/truncate_badse.result
Sergei Golubchik cdc01e29d3 remove dd_frm_type(), dd_frm_storage_engine(), dd_check_storage_engine_flag()
from everywhere - now RENAME, SHOW FULL TABLES, and TRUNCATE work with discovery.
improve error messages in truncate
2013-04-09 15:50:30 +02:00

13 lines
306 B
Text

install plugin example soname 'ha_example';
create table t1 (a int) engine=example;
select 1;
1
1
uninstall plugin example;
flush tables;
select count(*) from information_schema.plugins where plugin_name='example';
count(*)
0
truncate table t1;
ERROR 42000: Unknown storage engine 'EXAMPLE'
drop table t1;