~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/r/rollback.result

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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;