~ubuntu-branches/ubuntu/vivid/mariadb-5.5/vivid

« back to all changes in this revision

Viewing changes to storage/tokudb/mysql-test/tokudb_bugs/r/2494-read-committed.result

  • Committer: Package Import Robot
  • Author(s): James Page, Otto Kekäläinen
  • Date: 2014-02-17 16:51:52 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140217165152-k315d3175g865kkx
Tags: 5.5.35-1
[ Otto Kekäläinen ]
* New upstream release, fixing the following security issues:
  - Buffer overflow in client/mysql.cc (Closes: #737597).
    - CVE-2014-0001
  - http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
    - CVE-2013-5891
    - CVE-2013-5908
    - CVE-2014-0386
    - CVE-2014-0393
    - CVE-2014-0401
    - CVE-2014-0402
    - CVE-2014-0412
    - CVE-2014-0420
    - CVE-2014-0437
* Upstream https://mariadb.atlassian.net/browse/MDEV-4902
  fixes compatibility with Bison 3.0 (Closes: #733002)
* Updated Russian debconf translation (Closes: #734426)
* Updated Japanese debconf translation (Closes: #735284)
* Updated French debconf translation (Closes: #736480)
* Renamed SONAME properly (Closes: #732967)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Establish connection conn1 (user = root)
 
2
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
 
3
DROP TABLE IF EXISTS foo;
 
4
set session transaction isolation level read committed;
 
5
create table foo ( a int, b int, primary key (a));
 
6
insert into foo values (1,1),(2,2),(3,1),(4,3);
 
7
select * from foo;
 
8
a       b
 
9
1       1
 
10
2       2
 
11
3       1
 
12
4       3
 
13
begin;
 
14
update foo set b=10 where b=1;
 
15
select * from foo;
 
16
a       b
 
17
1       10
 
18
2       2
 
19
3       10
 
20
4       3
 
21
set session transaction isolation level read committed;
 
22
select * from foo;
 
23
a       b
 
24
1       1
 
25
2       2
 
26
3       1
 
27
4       3
 
28
set session transaction isolation level read uncommitted;
 
29
select * from foo;
 
30
a       b
 
31
1       10
 
32
2       2
 
33
3       10
 
34
4       3
 
35
rollback;
 
36
begin;
 
37
insert into foo values (5,1),(6,2),(7,1),(8,3);
 
38
select * from foo;
 
39
a       b
 
40
1       1
 
41
2       2
 
42
3       1
 
43
4       3
 
44
5       1
 
45
6       2
 
46
7       1
 
47
8       3
 
48
set session transaction isolation level read committed;
 
49
select * from foo;
 
50
a       b
 
51
1       1
 
52
2       2
 
53
3       1
 
54
4       3
 
55
set session transaction isolation level read uncommitted;
 
56
select * from foo;
 
57
a       b
 
58
1       1
 
59
2       2
 
60
3       1
 
61
4       3
 
62
5       1
 
63
6       2
 
64
7       1
 
65
8       3
 
66
commit;
 
67
begin;
 
68
delete from foo where b=1;
 
69
select * from foo;
 
70
a       b
 
71
2       2
 
72
4       3
 
73
6       2
 
74
8       3
 
75
set session transaction isolation level read committed;
 
76
select * from foo;
 
77
a       b
 
78
1       1
 
79
2       2
 
80
3       1
 
81
4       3
 
82
5       1
 
83
6       2
 
84
7       1
 
85
8       3
 
86
set session transaction isolation level read uncommitted;
 
87
select * from foo;
 
88
a       b
 
89
2       2
 
90
4       3
 
91
6       2
 
92
8       3
 
93
commit;
 
94
set session transaction isolation level serializable;
 
95
DROP TABLE foo;