mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
16 lines
320 B
Text
16 lines
320 B
Text
|
#
|
||
|
# Test of alter table with transactional tables
|
||
|
#
|
||
|
|
||
|
--source include/have_innodb.inc
|
||
|
--disable_warnings
|
||
|
drop table if exists t1,t2;
|
||
|
--enable_warnings
|
||
|
|
||
|
#
|
||
|
# This test caused a crash in wait_if_global_read_lock()
|
||
|
#
|
||
|
CREATE TABLE t1 (a INT, INDEX(a)) engine=innodb;
|
||
|
ALTER TABLE t1 RENAME TO t2, DISABLE KEYS;
|
||
|
DROP TABLE t2;
|