Navigation Menu

Skip to content

Commit

Permalink
test: don't use reset_connection
Browse files Browse the repository at this point in the history
MySQL 5.7 only supports it.
  • Loading branch information
kou committed Mar 25, 2015
1 parent 4638aa2 commit 640f367
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -20,6 +20,7 @@ SELECT * FROM diaries WHERE MATCH (tags) AGAINST ("gr" IN BOOLEAN MODE);
id title tags
1 Hello groonga! groonga install
SET GLOBAL mroonga_match_escalation_threshold = -1;
USE test;
SELECT * FROM diaries WHERE MATCH (tags) AGAINST ("gr" IN BOOLEAN MODE);
id title tags
SET GLOBAL mroonga_match_escalation_threshold = DEFAULT;
Expand Down
Expand Up @@ -41,9 +41,12 @@ SELECT * FROM diaries WHERE MATCH (tags) AGAINST ("gr" IN BOOLEAN MODE);
--disable_warnings
SET GLOBAL mroonga_match_escalation_threshold = -1;
--enable_warnings
--reset_connection

CONNECT(search_connection, localhost, root);
USE test;
SELECT * FROM diaries WHERE MATCH (tags) AGAINST ("gr" IN BOOLEAN MODE);
DISCONNECT search_connection;
CONNECTION default;

SET GLOBAL mroonga_match_escalation_threshold = DEFAULT;

Expand Down

0 comments on commit 640f367

Please sign in to comment.