mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.3 into 10.4
In is_eits_usable(), we disable an assertion that fails due to MDEV-19334.
This commit is contained in:
@ -35,6 +35,8 @@ Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_par
|
||||
t1 1 a 1 a A 10 NULL NULL YES BTREE
|
||||
'Set nulls to be equal'
|
||||
SET myisam_stats_method = nulls_equal;
|
||||
set @save_use_stat_tables= @@use_stat_tables;
|
||||
set @@use_stat_tables= COMPLEMENTARY;
|
||||
INSERT INTO t1 VALUES (11);
|
||||
DELETE FROM t1 WHERE a = 11;
|
||||
ANALYZE TABLE t1;
|
||||
@ -51,7 +53,7 @@ Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
SHOW INDEX FROM t1;
|
||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
|
||||
t1 1 a 1 a A 10 NULL NULL YES BTREE
|
||||
t1 1 a 1 a A 5 NULL NULL YES BTREE
|
||||
'Set nulls to be ignored'
|
||||
SET myisam_stats_method = nulls_ignored;
|
||||
SHOW VARIABLES LIKE 'myisam_stats_method';
|
||||
@ -88,5 +90,6 @@ t1 1 a 2 b A 0 NULL NULL YES BTREE
|
||||
t1 1 a 3 c A 0 NULL NULL YES BTREE
|
||||
t1 1 a 4 d A 0 NULL NULL YES BTREE
|
||||
SET myisam_stats_method = DEFAULT;
|
||||
set @@use_stat_tables= @save_use_stat_tables;
|
||||
DROP TABLE t1;
|
||||
SET @@global.myisam_stats_method= @start_value;
|
||||
|
Reference in New Issue
Block a user