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

« back to all changes in this revision

Viewing changes to storage/tokudb/mysql-test/tokudb_bugs/t/4260.test

  • 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
--source include/have_tokudb.inc
 
2
#
 
3
# Record inconsistency.
 
4
#
 
5
#
 
6
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
 
7
 
 
8
--disable_warnings
 
9
DROP TABLE IF EXISTS foo;
 
10
--enable_warnings
 
11
 
 
12
#do some sanity checks that queries with disable_prefetching ON work
 
13
 
 
14
create table foo (a int, b int, primary key (a))engine=TokuDB;
 
15
insert into foo values (1,10),(2,20),(3,30),(4,40),(5,50);
 
16
set session tokudb_disable_prefetching=ON;
 
17
 
 
18
select * from foo;
 
19
select * from foo where a=1;
 
20
select * from foo where a>1;
 
21
begin;
 
22
select * from foo where a > 1 for update;
 
23
commit;
 
24
set session transaction isolation level serializable;
 
25
select * from foo;
 
26
select * from foo where a=1;
 
27
select * from foo where a>1;
 
28
begin;
 
29
select * from foo where a > 1 for update;
 
30
commit;
 
31
 
 
32
 
 
33
 
 
34
# Final cleanup.
 
35
DROP TABLE foo;
 
36