[Groonga-commit] groonga/groonga-test [master] Reset current command format after logging

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 6日 (火) 17:13:16 JST


Kouhei Sutou	2012-03-06 17:13:16 +0900 (Tue, 06 Mar 2012)

  New Revision: 8c2e653020ebd8f913c8d8ccb45adde88171778b

  Log:
    Reset current command format after logging

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+2 -0)
===================================================================
--- lib/groonga/tester.rb    2012-03-06 16:38:50 +0900 (102e5c3)
+++ lib/groonga/tester.rb    2012-03-06 17:13:16 +0900 (b3d37be)
@@ -485,6 +485,8 @@ module Groonga
         log(:output, content,
             :command => @current_command,
             :format => @output_format)
+        @current_command = nil
+        @output_format = nil
       end
 
       def log_error(content)




Groonga-commit メーリングリストの案内
Back to archive index