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

« back to all changes in this revision

Viewing changes to storage/tokudb/mysql-test/tokudb/t/cluster_update.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
SET DEFAULT_STORAGE_ENGINE='tokudb';
 
3
 
 
4
--disable_warnings
 
5
DROP TABLE IF EXISTS t1;
 
6
--enable_warnings
 
7
 
 
8
create table t1(a int, b int, c int, d int, primary key(a), key(b) clustering=yes, key (c))engine=tokudb;
 
9
 
 
10
insert into t1 values (1,10,100,1000),(2,20,200,2000),(3,30,300,3000),(4,40,400,4000),(5,50,500,5000),(6,60,600,6000),(7,70,700,7000),(8,80,800,8000),(9,90,900,9000);
 
11
 
 
12
 
 
13
#normal queries
 
14
 
 
15
# ignore rows column
 
16
--replace_column 9 NULL;
 
17
explain select * from t1 where a > 5;
 
18
select * from t1 where a > 5;
 
19
 
 
20
# ignore rows column
 
21
--replace_column 9 NULL;
 
22
explain select * from t1 where b > 30;
 
23
select * from t1 where b > 30;
 
24
 
 
25
# ignore rows column
 
26
--replace_column 9 NULL;
 
27
explain select * from t1 where c > 750;
 
28
select * from t1 where c > 750;
 
29
 
 
30
#covering indexes
 
31
 
 
32
# ignore rows column
 
33
--replace_column 9 NULL;
 
34
explain select a from t1 where a > 8;
 
35
select a from t1 where a > 8;
 
36
 
 
37
# ignore rows column
 
38
--replace_column 9 NULL;
 
39
explain select a,b from t1 where b > 30;
 
40
select a,b from t1 where b > 30;
 
41
 
 
42
# ignore rows column
 
43
--replace_column 9 NULL;
 
44
explain select a,b from t1 where c > 750;
 
45
select a,c from t1 where c > 750;
 
46
 
 
47
update t1 set c = c+5, b = b+5 where b>30;
 
48
 
 
49
# ignore rows column
 
50
--replace_column 9 NULL;
 
51
explain select * from t1 where a > 5;
 
52
select * from t1 where a > 5;
 
53
 
 
54
# ignore rows column
 
55
--replace_column 9 NULL;
 
56
explain select * from t1 where b > 30;
 
57
select * from t1 where b > 30;
 
58
 
 
59
# ignore rows column
 
60
--replace_column 9 NULL;
 
61
explain select * from t1 where c > 750;
 
62
select * from t1 where c > 750;
 
63
 
 
64
#covering indexes
 
65
# ignore rows column
 
66
--replace_column 9 NULL;
 
67
explain select a from t1 where a > 8;
 
68
select a from t1 where a > 8;
 
69
 
 
70
# ignore rows column
 
71
--replace_column 4 NA 9 NULL;
 
72
explain select a,b from t1 where b > 30;
 
73
select a,b from t1 where b > 30;
 
74
 
 
75
# ignore rows column
 
76
--replace_column 9 NULL;
 
77
explain select a,b from t1 where c > 750;
 
78
select a,c from t1 where c > 750;
 
79
 
 
80
 
 
81
alter table t1 drop primary key;
 
82
# ignore rows column
 
83
--replace_column 9 NULL;
 
84
explain select * from t1 where a > 5;
 
85
select * from t1 where a > 5;
 
86
 
 
87
# ignore rows column
 
88
--replace_column 9 NULL;
 
89
explain select * from t1 where b > 30;
 
90
select * from t1 where b > 30;
 
91
 
 
92
# ignore rows column
 
93
--replace_column 9 NULL;
 
94
explain select * from t1 where c > 750;
 
95
select * from t1 where c > 750;
 
96
 
 
97
#covering indexes
 
98
# ignore rows column
 
99
--replace_column 9 NULL;
 
100
explain select a from t1 where a > 5;
 
101
select a from t1 where a > 5;
 
102
 
 
103
# ignore rows column
 
104
--replace_column 9 NULL;
 
105
explain select a,b from t1 where b > 30;
 
106
select a,b from t1 where b > 30;
 
107
 
 
108
# ignore rows column
 
109
--replace_column 9 NULL;
 
110
explain select a,b from t1 where c > 750;
 
111
select a,c from t1 where c > 750;
 
112
 
 
113
update t1 set c = c+5, b = b+5 where b>30;
 
114
select * from t1;
 
115
 
 
116
 
 
117
# ignore rows column
 
118
--replace_column 9 NULL;
 
119
explain select * from t1 where a > 5;
 
120
select * from t1 where a > 5;
 
121
 
 
122
# ignore rows column
 
123
--replace_column 9 NULL;
 
124
explain select * from t1 where b > 30;
 
125
select * from t1 where b > 30;
 
126
 
 
127
# ignore rows column
 
128
--replace_column 9 NULL;
 
129
explain select * from t1 where c > 750;
 
130
select * from t1 where c > 750;
 
131
 
 
132
#covering indexes
 
133
 
 
134
# ignore rows column
 
135
--replace_column 9 NULL;
 
136
explain select a from t1 where a > 5;
 
137
select a from t1 where a > 5;
 
138
 
 
139
# ignore rows column
 
140
--replace_column 9 NULL;
 
141
explain select a,b from t1 where b > 30;
 
142
select a,b from t1 where b > 30;
 
143
 
 
144
# ignore rows column
 
145
--replace_column 9 NULL;
 
146
explain select a,b from t1 where c > 750;
 
147
select a,c from t1 where c > 750;
 
148
 
 
149
 
 
150
drop table t1;