mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge.
This commit is contained in:
@ -365,7 +365,7 @@ update t1 set b=repeat(char(65+a), 20) where a < 25;
|
||||
This must show range + using index condition:
|
||||
explain select * from t1 where a < 10 and b = repeat(char(65+a), 20);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 range a a 5 NULL 19 Using where
|
||||
1 SIMPLE t1 range a a 5 NULL 19 Using index condition; Using where
|
||||
select * from t1 where a < 10 and b = repeat(char(65+a), 20);
|
||||
a b filler
|
||||
0 AAAAAAAAAAAAAAAAAAAA filler
|
||||
|
Reference in New Issue
Block a user