Commit 1696e4df authored by Daniel Black's avatar Daniel Black

Merge remote-tracking branch 10.4 into 10.5

parents 86d60fc9 a6c6c4f4
...@@ -813,7 +813,7 @@ PRIMARY KEY(pk) ...@@ -813,7 +813,7 @@ PRIMARY KEY(pk)
INSERT INTO t2 SELECT a,a FROM t1; INSERT INTO t2 SELECT a,a FROM t1;
EXPLAIN SELECT pk FROM t2 FORCE INDEX(k1); EXPLAIN SELECT pk FROM t2 FORCE INDEX(k1);
id select_type table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 index NULL k1 23 NULL 10 Using index 1 SIMPLE t2 index NULL k1 23 NULL # Using index
DROP TABLE t1,t2; DROP TABLE t1,t2;
set global innodb_stats_persistent= @innodb_stats_persistent_save; set global innodb_stats_persistent= @innodb_stats_persistent_save;
set global innodb_stats_persistent_sample_pages= @innodb_stats_persistent_sample_pages_save; set global innodb_stats_persistent_sample_pages= @innodb_stats_persistent_sample_pages_save;
...@@ -640,6 +640,7 @@ CREATE TABLE t2 ( ...@@ -640,6 +640,7 @@ CREATE TABLE t2 (
)ENGINE=INNODB; )ENGINE=INNODB;
INSERT INTO t2 SELECT a,a FROM t1; INSERT INTO t2 SELECT a,a FROM t1;
--replace_column 9 #
EXPLAIN SELECT pk FROM t2 FORCE INDEX(k1); EXPLAIN SELECT pk FROM t2 FORCE INDEX(k1);
DROP TABLE t1,t2; DROP TABLE t1,t2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment