summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_alter_table/r/hcad_with_dels.result
blob: 4d89ee445b0d0b813a34143017cd31f76331fa1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;