[Groonga-commit] groonga/groonga-query-log at a676c8d [master] check-crash: use true as the default

Back to archive index
Kouhei Sutou null+****@clear*****
Wed Nov 7 11:25:25 JST 2018


Kouhei Sutou	2018-11-07 11:25:25 +0900 (Wed, 07 Nov 2018)

  Revision: a676c8d9745635074b388db038af8c28a8b94117
  https://github.com/groonga/groonga-query-log/commit/a676c8d9745635074b388db038af8c28a8b94117

  Message:
    check-crash: use true as the default
    
    nil isn't meaningless.

  Modified files:
    lib/groonga-query-log/command/check-crash.rb

  Modified: lib/groonga-query-log/command/check-crash.rb (+1 -1)
===================================================================
--- lib/groonga-query-log/command/check-crash.rb    2018-11-07 11:05:46 +0900 (90f3aae)
+++ lib/groonga-query-log/command/check-crash.rb    2018-11-07 11:25:25 +0900 (f35eddc)
@@ -163,7 +163,7 @@ module GroongaQueryLog
 
             start = process.start_time
             last = process.last_time
-            @flushed = nil
+            @flushed = true
             @unflushed_statistics = []
             query_log_parser = Parser.new
             query_log_parser.parse_paths(@query_log_paths) do |statistic|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181107/90b5e605/attachment.html>


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