mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
15
mysql-test/main/truncate_badse.test
Normal file
15
mysql-test/main/truncate_badse.test
Normal 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;
|
||||
|
Reference in New Issue
Block a user