[Groonga-commit] groonga/fluent-plugin-droonga [master] Don't output until search is executed

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 9 18:34:58 JST 2013


Kouhei Sutou	2013-04-09 18:34:58 +0900 (Tue, 09 Apr 2013)

  New Revision: ae551a2affd73773101abbd38a83e52afa0d8a4e
  https://github.com/groonga/fluent-plugin-droonga/commit/ae551a2affd73773101abbd38a83e52afa0d8a4e

  Message:
    Don't output until search is executed

  Modified files:
    lib/droonga/plugin/handler_search.rb

  Modified: lib/droonga/plugin/handler_search.rb (+1 -1)
===================================================================
--- lib/droonga/plugin/handler_search.rb    2013-04-09 18:33:16 +0900 (33dc044)
+++ lib/droonga/plugin/handler_search.rb    2013-04-09 18:34:58 +0900 (2aa7b00)
@@ -198,7 +198,7 @@ module Droonga
       end
 
       def need_output?
-        @query.has_key?("output")
+        @result and****@query*****_key?("output")
       end
 
       def output
-------------- next part --------------
HTML����������������������������...
Download 



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