~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-19.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
set session transaction isolation level repeatable read;
 
5
create table foo (a int, b int, c int, primary key (a))engine=TokuDB;
 
6
insert into foo values (1,10,100),(2,20,200),(3,30,300),(4,40,400);
 
7
begin;
 
8
# should read all four values
 
9
select * from foo;
 
10
a       b       c
 
11
1       10      100
 
12
2       20      200
 
13
3       30      300
 
14
4       40      400
 
15
set session transaction isolation level repeatable read;
 
16
set session tokudb_load_save_space=0;
 
17
alter table foo add index (b);
 
18
# should read all four values
 
19
select * from foo;
 
20
a       b       c
 
21
1       10      100
 
22
2       20      200
 
23
3       30      300
 
24
4       40      400
 
25
# should fail
 
26
select sum(b) from foo;
 
27
ERROR HY000: Table definition has changed, please retry transaction
 
28
commit;
 
29
# should return 100
 
30
select sum(b) from foo;
 
31
sum(b)
 
32
100
 
33
set session transaction isolation level serializable;
 
34
DROP TABLE foo;