mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Stabilize the test.
This commit is contained in:
parent
fb01193ce9
commit
6b8388e49b
3 changed files with 20 additions and 0 deletions
|
@ -1675,6 +1675,10 @@ f1 int, f2 int, f3 int, f4 int,
|
|||
PRIMARY KEY (f1), KEY (f3), KEY (f4)
|
||||
);
|
||||
INSERT INTO t1 VALUES (9,0,2,6), (9930,0,0,NULL);
|
||||
analyze table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
SET SESSION optimizer_switch='index_merge_intersection=off';
|
||||
SET SESSION optimizer_switch='index_merge_sort_union=off';
|
||||
SET SESSION optimizer_switch='index_merge_union=off';
|
||||
|
@ -1706,6 +1710,10 @@ INSERT INTO t1 VALUES
|
|||
(95,0,5,6), (9935,0,5,5), (96,0,6,6), (9936,0,6,6),
|
||||
(97,0,7,6), (9937,0,7,7), (98,0,8,6), (9938,0,8,8),
|
||||
(99,0,9,6), (9939,0,9,9);
|
||||
analyze table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
SET SESSION optimizer_switch='index_merge_union=off';
|
||||
EXPLAIN
|
||||
SELECT * FROM t1 FORCE KEY (PRIMARY,f3,f4)
|
||||
|
|
|
@ -1086,6 +1086,8 @@ CREATE TABLE t1 (
|
|||
|
||||
INSERT INTO t1 VALUES (9,0,2,6), (9930,0,0,NULL);
|
||||
|
||||
analyze table t1;
|
||||
|
||||
SET SESSION optimizer_switch='index_merge_intersection=off';
|
||||
SET SESSION optimizer_switch='index_merge_sort_union=off';
|
||||
|
||||
|
@ -1118,6 +1120,8 @@ INSERT INTO t1 VALUES
|
|||
(97,0,7,6), (9937,0,7,7), (98,0,8,6), (9938,0,8,8),
|
||||
(99,0,9,6), (9939,0,9,9);
|
||||
|
||||
analyze table t1;
|
||||
|
||||
SET SESSION optimizer_switch='index_merge_union=off';
|
||||
|
||||
EXPLAIN
|
||||
|
|
|
@ -1681,6 +1681,10 @@ f1 int, f2 int, f3 int, f4 int,
|
|||
PRIMARY KEY (f1), KEY (f3), KEY (f4)
|
||||
);
|
||||
INSERT INTO t1 VALUES (9,0,2,6), (9930,0,0,NULL);
|
||||
analyze table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
SET SESSION optimizer_switch='index_merge_intersection=off';
|
||||
SET SESSION optimizer_switch='index_merge_sort_union=off';
|
||||
SET SESSION optimizer_switch='index_merge_union=off';
|
||||
|
@ -1712,6 +1716,10 @@ INSERT INTO t1 VALUES
|
|||
(95,0,5,6), (9935,0,5,5), (96,0,6,6), (9936,0,6,6),
|
||||
(97,0,7,6), (9937,0,7,7), (98,0,8,6), (9938,0,8,8),
|
||||
(99,0,9,6), (9939,0,9,9);
|
||||
analyze table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
SET SESSION optimizer_switch='index_merge_union=off';
|
||||
EXPLAIN
|
||||
SELECT * FROM t1 FORCE KEY (PRIMARY,f3,f4)
|
||||
|
|
Loading…
Reference in a new issue