mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
After-merge fixes
main.selectivity_innodb: Re-record the result. MDEV-18863: Make wsrep_sst_mariabackup use Bash due to the += syntax.
This commit is contained in:
parent
48c67038b9
commit
64c6f2bffc
2 changed files with 5 additions and 5 deletions
|
@ -1662,19 +1662,19 @@ explain extended select * from t1 use index () where a in (17,51,5);
|
||||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||||
1 SIMPLE t1 ALL NULL NULL NULL NULL 1000 2.97 Using where
|
1 SIMPLE t1 ALL NULL NULL NULL NULL 1000 2.97 Using where
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` USE INDEX () where (`test`.`t1`.`a` in (17,51,5))
|
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` USE INDEX () where `test`.`t1`.`a` in (17,51,5)
|
||||||
explain extended select * from t1 use index () where b=2;
|
explain extended select * from t1 use index () where b=2;
|
||||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||||
1 SIMPLE t1 ALL NULL NULL NULL NULL 1000 4.76 Using where
|
1 SIMPLE t1 ALL NULL NULL NULL NULL 1000 4.76 Using where
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` USE INDEX () where (`test`.`t1`.`b` = 2)
|
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` USE INDEX () where `test`.`t1`.`b` = 2
|
||||||
# Now, the equality is used for ref access, while the range condition
|
# Now, the equality is used for ref access, while the range condition
|
||||||
# gives selectivity data
|
# gives selectivity data
|
||||||
explain extended select * from t1 where a in (17,51,5) and b=2;
|
explain extended select * from t1 where a in (17,51,5) and b=2;
|
||||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||||
1 SIMPLE t1 ref b,a b 5 const 59 2.80 Using where
|
1 SIMPLE t1 ref b,a b 5 const 59 2.90 Using where
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` where ((`test`.`t1`.`b` = 2) and (`test`.`t1`.`a` in (17,51,5)))
|
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` where `test`.`t1`.`b` = 2 and `test`.`t1`.`a` in (17,51,5)
|
||||||
drop table t1;
|
drop table t1;
|
||||||
set use_stat_tables= @save_use_stat_tables;
|
set use_stat_tables= @save_use_stat_tables;
|
||||||
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
|
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh -ue
|
#!/bin/bash -ue
|
||||||
|
|
||||||
# Copyright (C) 2010-2014 Codership Oy
|
# Copyright (C) 2010-2014 Codership Oy
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue