mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-16188 Post merge fixes: more for TokuDB
This commit is contained in:
@ -48,8 +48,8 @@ a
|
||||
alter table t1 add unique uniq_id using BTREE (a);
|
||||
select * from t1 where a > 736494;
|
||||
a
|
||||
869751
|
||||
802616
|
||||
869751
|
||||
select * from t1 where a = 736494;
|
||||
a
|
||||
736494
|
||||
|
@ -37,6 +37,7 @@ create table t1 (a int not null) engine=heap;
|
||||
insert into t1 values (869751),(736494),(226312),(802616),(728912);
|
||||
select * from t1 where a > 736494;
|
||||
alter table t1 add unique uniq_id using BTREE (a);
|
||||
--sorted_result
|
||||
select * from t1 where a > 736494;
|
||||
select * from t1 where a = 736494;
|
||||
select * from t1 where a=869751 or a=736494;
|
||||
|
@ -426,13 +426,14 @@ select 0+a from t1 where a=869751 or a=736494;
|
||||
explain select 0+a from t1 where a=869751 or a=736494;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 range uniq_id uniq_id 8 NULL 2 Using where
|
||||
select 0+a from t1 where a in (869751,736494,226312,802616);
|
||||
select 0+a from t1 where a in (869751,736494,226312,802616,728912);
|
||||
0+a
|
||||
869751
|
||||
736494
|
||||
226312
|
||||
802616
|
||||
explain select 0+a from t1 where a in (869751,736494,226312,802616);
|
||||
728912
|
||||
explain select 0+a from t1 where a in (869751,736494,226312,802616,728912);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ALL uniq_id NULL NULL NULL 5 Using where
|
||||
drop table t1;
|
||||
|
@ -313,8 +313,8 @@ select 0+a from t1 where a = 736494;
|
||||
explain select 0+a from t1 where a = 736494;
|
||||
select 0+a from t1 where a=869751 or a=736494;
|
||||
explain select 0+a from t1 where a=869751 or a=736494;
|
||||
select 0+a from t1 where a in (869751,736494,226312,802616);
|
||||
explain select 0+a from t1 where a in (869751,736494,226312,802616);
|
||||
select 0+a from t1 where a in (869751,736494,226312,802616,728912);
|
||||
explain select 0+a from t1 where a in (869751,736494,226312,802616,728912);
|
||||
drop table t1;
|
||||
|
||||
--echo End of 5.3 tests
|
||||
|
Reference in New Issue
Block a user