~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

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;