mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
61a312ef0b
git-svn-id: file:///svn/mysql/tests/mysql-test@40916 c7de825b-a66e-492c-adef-691d508d4ae1
24 lines
760 B
Text
24 lines
760 B
Text
SET STORAGE_ENGINE = 'tokudb';
|
|
set session transaction isolation level repeatable read;
|
|
set session tokudb_disable_slow_alter=ON;
|
|
# Establish connection conn1 (user = root)
|
|
DROP TABLE IF EXISTS foo;
|
|
set session transaction isolation level repeatable read;
|
|
create table foo (a int, b int) engine=TokuDB;
|
|
insert into foo values (1,10);
|
|
begin;
|
|
select * from foo;
|
|
a b
|
|
1 10
|
|
alter table foo add column c int;
|
|
alter table foo drop column b;
|
|
commit;
|
|
begin;
|
|
insert into foo values (1,10);
|
|
alter table foo add column cc int;
|
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
|
alter table foo drop column c;
|
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
|
commit;
|
|
set session transaction isolation level serializable;
|
|
DROP TABLE foo;
|