[Groonga-mysql-commit] mroonga/mroonga at 640f367 [master] test: don't use reset_connection

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Mar 26 00:27:30 JST 2015


Kouhei Sutou	2015-03-26 00:27:30 +0900 (Thu, 26 Mar 2015)

  New Revision: 640f367c94b4fb5313ccbd42a898bc4d6ceebc8f
  https://github.com/mroonga/mroonga/commit/640f367c94b4fb5313ccbd42a898bc4d6ceebc8f

  Message:
    test: don't use reset_connection
    
    MySQL 5.7 only supports it.

  Modified files:
    mysql-test/mroonga/wrapper/variable/match_escalation_threshold/r/global.result
    mysql-test/mroonga/wrapper/variable/match_escalation_threshold/t/global.test

  Modified: mysql-test/mroonga/wrapper/variable/match_escalation_threshold/r/global.result (+1 -0)
===================================================================
--- mysql-test/mroonga/wrapper/variable/match_escalation_threshold/r/global.result    2015-03-26 00:15:31 +0900 (0233fb6)
+++ mysql-test/mroonga/wrapper/variable/match_escalation_threshold/r/global.result    2015-03-26 00:27:30 +0900 (c98847c)
@@ -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;

  Modified: mysql-test/mroonga/wrapper/variable/match_escalation_threshold/t/global.test (+4 -1)
===================================================================
--- mysql-test/mroonga/wrapper/variable/match_escalation_threshold/t/global.test    2015-03-26 00:15:31 +0900 (c580215)
+++ mysql-test/mroonga/wrapper/variable/match_escalation_threshold/t/global.test    2015-03-26 00:27:30 +0900 (60b9554)
@@ -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;
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index