mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
13 lines
446 B
Text
13 lines
446 B
Text
# Test for 'innodb_lazy_drop_table' variable
|
|
--source include/have_innodb.inc
|
|
--disable_warnings
|
|
DROP TABLE IF EXISTS t1;
|
|
--enable_warnings
|
|
SET GLOBAL innodb_file_per_table=ON;
|
|
SHOW VARIABLES LIKE 'innodb_lazy_drop_table';
|
|
SET GLOBAL innodb_lazy_drop_table=1;
|
|
SHOW VARIABLES LIKE 'innodb_lazy_drop_table';
|
|
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
|
|
DROP TABLE t1;
|
|
SET GLOBAL innodb_lazy_drop_table=default;
|
|
SET GLOBAL innodb_file_per_table=default;
|