mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@ -3340,11 +3340,11 @@ show keys from t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
|
||||
t1 0 PRIMARY 1 pk A 1010 NULL NULL BTREE
|
||||
t1 0 a 1 a A 1010 NULL NULL YES BTREE
|
||||
# t1 must use ref(t1.a=t0.a) and rows must be 1 (and not 45):
|
||||
# t1 must use eq_ref(t1.a=t0.a) and rows must be 1 (and not 45):
|
||||
explain select * from t0,t1 where t0.a=t1.a;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t0 ALL NULL NULL NULL NULL 10 Using where
|
||||
1 SIMPLE t1 ref a a 5 test.t0.a 1
|
||||
1 SIMPLE t1 eq_ref a a 5 test.t0.a 1
|
||||
drop table t0,t1;
|
||||
#
|
||||
# MDEV-21383: Possible range plan is not used under certain conditions
|
||||
|
Reference in New Issue
Block a user