~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-25.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,bar;
 
4
set session transaction isolation level repeatable read;
 
5
create table foo (a int, b varchar (100), primary key (a))engine=TokuDB;
 
6
create table bar like foo;
 
7
show create table foo;
 
8
Table   Create Table
 
9
foo     CREATE TABLE `foo` (
 
10
  `a` int(11) NOT NULL DEFAULT '0',
 
11
  `b` varchar(100) DEFAULT NULL,
 
12
  PRIMARY KEY (`a`)
 
13
) ENGINE=TokuDB DEFAULT CHARSET=latin1
 
14
show create table bar;
 
15
Table   Create Table
 
16
bar     CREATE TABLE `bar` (
 
17
  `a` int(11) NOT NULL DEFAULT '0',
 
18
  `b` varchar(100) DEFAULT NULL,
 
19
  PRIMARY KEY (`a`)
 
20
) ENGINE=TokuDB DEFAULT CHARSET=latin1
 
21
set session transaction isolation level repeatable read;
 
22
begin;
 
23
# should be empty
 
24
select * from foo;
 
25
a       b
 
26
begin;
 
27
# should be empty
 
28
select * from bar;
 
29
a       b
 
30
begin;
 
31
# should be empty
 
32
select * from foo;
 
33
a       b
 
34
insert into foo values (1,"g");
 
35
commit;
 
36
replace into foo values (1,"ga");
 
37
replace into foo values (1,"gar");
 
38
replace into foo values (1,"garb");
 
39
replace into foo values (1,"aaaa");
 
40
# should have one value
 
41
select * from foo;
 
42
a       b
 
43
1       aaaa
 
44
commit;
 
45
# should be empty
 
46
select * from foo;
 
47
a       b
 
48
commit;
 
49
# should be empty
 
50
select * from foo;
 
51
a       b
 
52
commit;
 
53
set session transaction isolation level serializable;
 
54
DROP TABLE foo,bar;