[Groonga-commit] groonga/grntest at a3098ee [master] query log: ignore --output_type json

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Aug 7 14:48:55 JST 2015


Kouhei Sutou	2015-08-07 14:48:55 +0900 (Fri, 07 Aug 2015)

  New Revision: a3098ee974b0d4823e467eb64a3790a701dfd6b6
  https://github.com/groonga/grntest/commit/a3098ee974b0d4823e467eb64a3790a701dfd6b6

  Message:
    query log: ignore --output_type json

  Modified files:
    lib/grntest/query-log-parser.rb

  Modified: lib/grntest/query-log-parser.rb (+3 -0)
===================================================================
--- lib/grntest/query-log-parser.rb    2015-08-07 14:12:56 +0900 (2955d44)
+++ lib/grntest/query-log-parser.rb    2015-08-07 14:48:55 +0900 (17ea12e)
@@ -44,6 +44,9 @@ module Grntest
 
     def normalize_command(message)
       command = Groonga::Command::Parser.parse(message)
+      if command.output_type == :json
+        command[:output_type] = nil
+      end
       command.to_command_format
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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