~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to storage/tokudb/mysql-test/tokudb/r/mvcc-21.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
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
 
2
# Establish connection conn1 (user = root)
 
3
DROP TABLE IF EXISTS foo;
 
4
create table foo (a int, b varchar (100), primary key (a)) engine=TokuDB;
 
5
show create table foo;
 
6
Table   Create Table
 
7
foo     CREATE TABLE `foo` (
 
8
  `a` int(11) NOT NULL DEFAULT '0',
 
9
  `b` varchar(100) DEFAULT NULL,
 
10
  PRIMARY KEY (`a`)
 
11
) ENGINE=TokuDB DEFAULT CHARSET=latin1
 
12
set session transaction isolation level repeatable read;
 
13
begin;
 
14
select * from foo;
 
15
a       b
 
16
replace into foo values (1, "a");
 
17
set session transaction isolation level repeatable read;
 
18
begin;
 
19
select * from foo;
 
20
a       b
 
21
1       a
 
22
replace into foo values (1,"abGARBAGE"), (2, "abGARBAGE");
 
23
replace into foo values (1,"ab"), (2, "ab");
 
24
set session transaction isolation level repeatable read;
 
25
begin;
 
26
select * from foo;
 
27
a       b
 
28
1       ab
 
29
2       ab
 
30
replace into foo values (1,"abcGARBAGE"),(2,"abcGARBAGE"),(3, "abcGARBAGE");
 
31
replace into foo values (1,"abc"),(2,"abc"),(3, "abc");
 
32
set session transaction isolation level repeatable read;
 
33
begin;
 
34
select * from foo;
 
35
a       b
 
36
1       abc
 
37
2       abc
 
38
3       abc
 
39
replace into foo values (1,"abcdGARBAGE"),(2,"abcdGARBAGE"),(3, "abcdGARBAGE"),(4, "abcdGARBAGE");
 
40
replace into foo values (1,"abcd"),(2,"abcd"),(3, "abcd"),(4, "abcd");
 
41
set session transaction isolation level repeatable read;
 
42
begin;
 
43
select * from foo;
 
44
a       b
 
45
1       abcd
 
46
2       abcd
 
47
3       abcd
 
48
4       abcd
 
49
select * from foo;
 
50
a       b
 
51
commit;
 
52
select * from foo;
 
53
a       b
 
54
1       a
 
55
commit;
 
56
select * from foo;
 
57
a       b
 
58
1       ab
 
59
2       ab
 
60
commit;
 
61
select * from foo;
 
62
a       b
 
63
1       abc
 
64
2       abc
 
65
3       abc
 
66
commit;
 
67
select * from foo;
 
68
a       b
 
69
1       abcd
 
70
2       abcd
 
71
3       abcd
 
72
4       abcd
 
73
commit;
 
74
select * from foo;
 
75
a       b
 
76
1       abcd
 
77
2       abcd
 
78
3       abcd
 
79
4       abcd
 
80
replace into foo values (1,"1"),(2,"2"),(3,"3"),(4,"4");
 
81
select * from foo;
 
82
a       b
 
83
1       1
 
84
2       2
 
85
3       3
 
86
4       4
 
87
set session transaction isolation level serializable;
 
88
DROP TABLE foo;