Skip to content

Commit

Permalink
Fixed the innodb_ext_key test by adding replace_column
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun Gupta committed Feb 25, 2021
1 parent 577c970 commit 0a95c92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-test/r/innodb_ext_key.result
Original file line number Diff line number Diff line change
Expand Up @@ -804,5 +804,5 @@ PRIMARY KEY(pk)
INSERT INTO t2 SELECT a,a FROM t1;
EXPLAIN SELECT pk FROM t2 FORCE INDEX(k1);
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;
1 change: 1 addition & 0 deletions mysql-test/t/innodb_ext_key.test
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ CREATE TABLE t2 (
)ENGINE=INNODB;

INSERT INTO t2 SELECT a,a FROM t1;
--replace_column 9 #
EXPLAIN SELECT pk FROM t2 FORCE INDEX(k1);

DROP TABLE t1,t2;

0 comments on commit 0a95c92

Please sign in to comment.