[Groonga-commit] droonga/fluent-plugin-droonga at 6b77027 [master] Return only the initial response of Groonga commands

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 27 13:38:27 JST 2014


YUKI Hiroshi	2014-01-27 13:38:27 +0900 (Mon, 27 Jan 2014)

  New Revision: 6b7702762648644d22123b7ff5ccbe7f78971aae
  https://github.com/droonga/fluent-plugin-droonga/commit/6b7702762648644d22123b7ff5ccbe7f78971aae

  Message:
    Return only the initial response of Groonga commands

  Modified files:
    lib/droonga/plugin/collector/groonga.rb

  Modified: lib/droonga/plugin/collector/groonga.rb (+1 -1)
===================================================================
--- lib/droonga/plugin/collector/groonga.rb    2014-01-27 16:24:14 +0900 (6e6bafc)
+++ lib/droonga/plugin/collector/groonga.rb    2014-01-27 13:38:27 +0900 (a7d8472)
@@ -39,7 +39,7 @@ module Droonga
         #XXX how to merge multiple erros?
         #XXX how to mix regular results and erros?
         # reduced_value = merge_groonga_result(left_value, right_value)
-        reduced_value = left_value
+        reduced_value = left_value || right_value
       else
         reduced_value = super
       end
-------------- next part --------------
HTML����������������������������...
Descargar 



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