1
by brian
clean slate |
1 |
drop table if exists t1;
|
2 |
create table t1 (a int) engine=innodb;
|
|
3 |
start transaction with consistent snapshot;
|
|
4 |
insert into t1 values(1);
|
|
5 |
select * from t1;
|
|
6 |
a
|
|
7 |
commit;
|
|
8 |
delete from t1;
|
|
9 |
start transaction;
|
|
10 |
insert into t1 values(1);
|
|
11 |
select * from t1;
|
|
12 |
a
|
|
13 |
1
|
|
14 |
commit;
|
|
15 |
drop table t1;
|