mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
4f4258be5d
git-svn-id: file:///svn/mysql/tests/mysql-test@48560 c7de825b-a66e-492c-adef-691d508d4ae1
20 lines
621 B
Text
20 lines
621 B
Text
SET DEFAULT_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,bar;
|
|
set session transaction isolation level repeatable read;
|
|
create table foo (a int, b int) engine=TokuDB;
|
|
create table bar (a int) engine=TokuDB;
|
|
insert into foo values (1,10),(2,20),(3,30);
|
|
begin;
|
|
select * from bar;
|
|
a
|
|
delete from foo;
|
|
select * from foo;
|
|
a b
|
|
alter table foo add column c int first;
|
|
alter table foo drop column b;
|
|
commit;
|
|
set session transaction isolation level serializable;
|
|
DROP TABLE foo,bar;
|