~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/r/myisam_rollback.result

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists t1;
 
2
create temporary 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;