1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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
This commit is contained in:
Sergei Golubchik
2013-04-09 15:50:30 +02:00
parent 15c936e4b3
commit cdc01e29d3
23 changed files with 213 additions and 243 deletions

View File

@ -0,0 +1,15 @@
#
# test what TRUNCATE TABLE does, if the table was created in
# now-unknown storage engine.
#
--source include/have_example_plugin.inc
install plugin example soname 'ha_example';
create table t1 (a int) engine=example;
select 1;
uninstall plugin example;
flush tables;
select count(*) from information_schema.plugins where plugin_name='example';
--error ER_UNKNOWN_STORAGE_ENGINE
truncate table t1;
drop table t1;