~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/suite/falcon/r/falcon_read-committed.result

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SET storage_engine = Falcon;
 
1
*** READ-COMMITTED and REPEATABLE-READ tests ***
 
2
SET @@storage_engine = 'Falcon';
2
3
DROP TABLE IF EXISTS t1;
3
 
CREATE TABLE t1 (a int);
4
 
SHOW CREATE TABLE t1;
5
 
Table   Create Table
6
 
t1      CREATE TABLE `t1` (
7
 
  `a` int(11) DEFAULT NULL
8
 
) ENGINE=Falcon DEFAULT CHARSET=latin1
9
 
DROP TABLE t1;
10
 
SET storage_engine = Falcon;
11
 
SET @@tx_isolation = 'REPEATABLE-READ';
12
 
SET @@autocommit=0;
13
 
SET @@tx_isolation = 'REPEATABLE-READ';
14
 
SET @@autocommit=0;
15
 
BEGIN;
16
 
CREATE TABLE t1 (a int);
17
 
COMMIT;
 
4
SET @@tx_isolation = 'REPEATABLE-READ';
 
5
SET @@autocommit = 0;
 
6
CREATE TABLE t1 (a int);
18
7
BEGIN;
19
8
INSERT INTO t1 VALUES (1);
 
9
SET @@storage_engine = 'Falcon';
 
10
SET @@tx_isolation = 'REPEATABLE-READ';
 
11
SET @@autocommit = 0;
20
12
BEGIN;
21
13
SELECT count(*) FROM t1;
22
14
count(*)
89
81
count(*)
90
82
2
91
83
COMMIT;
 
84
SELECT count(*) FROM t1;
 
85
count(*)
 
86
2
 
87
COMMIT;
 
88
COMMIT;
92
89
DROP TABLE t1;