1# 2# test what TRUNCATE TABLE does, if the table was created in 3# now-unknown storage engine. 4# 5--source include/have_example_plugin.inc 6install plugin example soname 'ha_example'; 7create table t1 (a int) engine=example; 8select 1; 9uninstall plugin example; 10flush tables; 11select count(*) from information_schema.plugins where plugin_name='example'; 12--error ER_UNKNOWN_STORAGE_ENGINE 13truncate table t1; 14drop table t1; 15 16