mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 18:25:30 +02:00
merge.
checkpoint. does not compile.
This commit is contained in:
commit
65ca700def
2732 changed files with 867677 additions and 21074 deletions
|
|
@ -148,10 +148,10 @@ insert into t1 values
|
|||
(7,7), (8,8), (9,9), (10,10), (11,11), (12,12);
|
||||
explain select * from t1 where a between 2 and 3;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 range idx idx 4 NULL 2 Using where
|
||||
1 SIMPLE t1 range idx idx 4 NULL 2 Using index condition; Using MRR
|
||||
explain select * from t1 where a between 2 and 3 or b is null;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 range idx idx 4 NULL 2 Using where
|
||||
1 SIMPLE t1 range idx idx 4 NULL 2 Using index condition; Using MRR
|
||||
drop table t1;
|
||||
select cast(NULL as signed);
|
||||
cast(NULL as signed)
|
||||
|
|
@ -170,7 +170,7 @@ insert into t1 select i*2 from t1;
|
|||
insert into t1 values(null);
|
||||
explain select * from t1 where i=2 or i is null;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ref_or_null i i 5 const 9 Using where; Using index
|
||||
1 SIMPLE t1 ref_or_null i i 5 const 9 Using index
|
||||
select count(*) from t1 where i=2 or i is null;
|
||||
count(*)
|
||||
10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue