Navigation Menu

Skip to content

Commit

Permalink
test: use replace_column for portability
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 5, 2015
1 parent 663168e commit a5a7d69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql-test/mroonga/wrapper/count_star/r/with_index.result
Expand Up @@ -18,9 +18,9 @@ INSERT INTO diaries_mroonga (body) VALUES ("starting groonga...");
INSERT INTO diaries_mroonga (body) VALUES ("started groonga.");
EXPLAIN SELECT COUNT(*) FROM diaries_innodb;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE diaries_innodb index NULL flag 2 NULL 3 Using index
1 SIMPLE diaries_innodb index NULL flag 2 NULL # Using index
EXPLAIN SELECT COUNT(*) FROM diaries_mroonga;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE diaries_mroonga index NULL flag 2 NULL 3 Using index
1 SIMPLE diaries_mroonga index NULL flag 2 NULL # Using index
DROP TABLE diaries_innodb;
DROP TABLE diaries_mroonga;
2 changes: 2 additions & 0 deletions mysql-test/mroonga/wrapper/count_star/t/with_index.test
Expand Up @@ -45,7 +45,9 @@ INSERT INTO diaries_mroonga (body) VALUES ("will start groonga!");
INSERT INTO diaries_mroonga (body) VALUES ("starting groonga...");
INSERT INTO diaries_mroonga (body) VALUES ("started groonga.");

-- replace_column 9 #
EXPLAIN SELECT COUNT(*) FROM diaries_innodb;
-- replace_column 9 #
EXPLAIN SELECT COUNT(*) FROM diaries_mroonga;

DROP TABLE diaries_innodb;
Expand Down

0 comments on commit a5a7d69

Please sign in to comment.