1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge branch '10.11' into 11.0

This commit is contained in:
Oleksandr Byelkin
2023-08-08 21:03:46 +02:00
870 changed files with 11721 additions and 6311 deletions

View File

@ -1095,14 +1095,18 @@ set @save_use_stat_tables= @@use_stat_tables;
set @@use_stat_tables='complementary';
set @@optimizer_use_condition_selectivity=4;
SET @cnt= 0;
--disable_ps2_protocol
SELECT * FROM t1 WHERE a = f1();
--enable_ps2_protocol
SELECT @cnt;
set @@use_stat_tables='preferably';
analyze table t1 persistent for all;
SET @cnt := 0;
set @@optimizer_use_condition_selectivity=4;
--disable_ps2_protocol
SELECT * FROM t1 WHERE a = f1();
--enable_ps2_protocol
SELECT @cnt;
alter table t1 force;
drop table t1;