[Groonga-commit] groonga/groonga-query-log at 1ec4e84 [master] Always use JSON output

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 6 16:45:02 JST 2014


Kouhei Sutou	2014-11-06 16:45:02 +0900 (Thu, 06 Nov 2014)

  New Revision: 1ec4e84c6afbf5cfd010b5bd08e81101fb324b7c
  https://github.com/groonga/groonga-query-log/commit/1ec4e84c6afbf5cfd010b5bd08e81101fb324b7c

  Message:
    Always use JSON output
    
    Because XML output and TSV output of select command aren't supported by
    groonga-client.

  Modified files:
    lib/groonga/query-log/server-verifier.rb

  Modified: lib/groonga/query-log/server-verifier.rb (+1 -0)
===================================================================
--- lib/groonga/query-log/server-verifier.rb    2014-10-31 14:54:55 +0900 (f391e52)
+++ lib/groonga/query-log/server-verifier.rb    2014-11-06 16:45:02 +0900 (93afbac)
@@ -105,6 +105,7 @@ module Groonga
 
       def verify_command(groonga1_client, groonga2_client, command)
         command["cache"] = "no" if****@optio*****_cache?
+        command["output_type"] = :json
         response1 = groonga1_client.execute(command)
         response2 = groonga2_client.execute(command)
         comparer = ResponseComparer.new(command, response1, response2)
-------------- next part --------------
HTML����������������������������...
下載 



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