mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -880,6 +880,21 @@ rename table t1 to t2, t3 to t4;
|
||||
drop table t1, mysql.table_stats;
|
||||
rename table test.table_stats to mysql.table_stats;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-19334: bool is_eits_usable(Field*): Assertion `field->table->stats_is_read' failed.
|
||||
--echo #
|
||||
|
||||
create temporary table t1(a int);
|
||||
insert into t1 values (1),(2),(3);
|
||||
|
||||
set use_stat_tables=preferably;
|
||||
set @optimizer_use_condition_selectivity= @@optimizer_use_condition_selectivity;
|
||||
set optimizer_use_condition_selectivity=4;
|
||||
|
||||
select * from t1 where a >= 2;
|
||||
drop table t1;
|
||||
set @@optimizer_use_condition_selectivity= @save_optimizer_use_condition_selectivity;
|
||||
|
||||
set use_stat_tables=@save_use_stat_tables;
|
||||
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user