[Groonga-commit] groonga/groonga-query-log at 3808254 [master] groonga-query-log-replay: ignore file serving query

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Sep 27 14:14:15 JST 2017


Kouhei Sutou	2017-09-27 14:14:15 +0900 (Wed, 27 Sep 2017)

  New Revision: 38082544c36c513fc01d4f9d46678c8d0c41c914
  https://github.com/groonga/groonga-query-log/commit/38082544c36c513fc01d4f9d46678c8d0c41c914

  Message:
    groonga-query-log-replay: ignore file serving query

  Modified files:
    lib/groonga/query-log/replayer.rb

  Modified: lib/groonga/query-log/replayer.rb (+1 -0)
===================================================================
--- lib/groonga/query-log/replayer.rb    2017-09-27 11:59:58 +0900 (8aad26e)
+++ lib/groonga/query-log/replayer.rb    2017-09-27 14:14:15 +0900 (017ee8d)
@@ -48,6 +48,7 @@ module Groonga
           id = 0
           @options.create_request_output do |output|
             parser.parse(input) do |statistic|
+              next if statistic.command.nil?
               next unless target_command?(statistic.command)
               # TODO: validate orignal_source is one line
               output.puts(statistic.command.original_source)
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20170927/19ed32ba/attachment.htm 



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