~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
drop table if exists t1;
2
create table t1 (n int not null primary key) engine=myisam;
3
begin work;
4
insert into t1 values (4);
5
insert into t1 values (5);
6
rollback;
7
Warnings:
8
Warning	1196	Some non-transactional changed tables couldn't be rolled back
9
select @@warning_count;
10
@@warning_count
11
1
12
select @@error_count;
13
@@error_count
14
0
15
show warnings;
16
Level	Code	Message
17
Warning	1196	Some non-transactional changed tables couldn't be rolled back
18
show errors;
19
Level	Code	Message
20
select * from t1;
21
n
22
4
23
5
24
select @@warning_count;
25
@@warning_count
26
0
27
show warnings;
28
Level	Code	Message
29
drop table t1;