[Groonga-mysql-commit] mroonga/mroonga at b4ecb6a [master] mysql57 test: use new connect to apply global value to session value

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 19 23:14:11 JST 2016


Kouhei Sutou	2016-04-19 23:14:11 +0900 (Tue, 19 Apr 2016)

  New Revision: b4ecb6a52d72aeb24a47132814c2689f4d51ec4d
  https://github.com/mroonga/mroonga/commit/b4ecb6a52d72aeb24a47132814c2689f4d51ec4d

  Message:
    mysql57 test: use new connect to apply global value to session value

  Modified files:
    mysql-test/mroonga/storage/variable/match_escalation_threshold/t/global.test

  Modified: mysql-test/mroonga/storage/variable/match_escalation_threshold/t/global.test (+8 -0)
===================================================================
--- mysql-test/mroonga/storage/variable/match_escalation_threshold/t/global.test    2016-04-19 22:58:32 +0900 (5804960)
+++ mysql-test/mroonga/storage/variable/match_escalation_threshold/t/global.test    2016-04-19 23:14:11 +0900 (7c0d6d4)
@@ -37,6 +37,10 @@ SHOW CREATE TABLE diaries;
 INSERT INTO diaries (title, tags) VALUES ("Hello Groonga!", "groonga install");
 INSERT INTO diaries (title, tags) VALUES ("Hello Mroonga!", "mroonga install");
 
+disable_query_log;
+CONNECT (new_connection, localhost, root, ,);
+CONNECTION new_connection;
+enable_query_log;
 
 SELECT * FROM diaries WHERE MATCH (tags) AGAINST ("+install" IN BOOLEAN MODE);
 
@@ -48,6 +52,10 @@ SELECT * FROM diaries WHERE MATCH (tags) AGAINST ("+gr" IN BOOLEAN MODE);
 SET mroonga_match_escalation_threshold = 0;
 SELECT * FROM diaries WHERE MATCH (tags) AGAINST ("+gr" IN BOOLEAN MODE);
 
+disable_query_log;
+CONNECTION default;
+DISCONNECT new_connection;
+enable_query_log;
 
 DROP TABLE diaries;
 
-------------- next part --------------
HTML����������������������������...
Download 



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