[Groonga-commit] droonga/fluent-plugin-droonga at 579049c [master] Use "or" instead of "||" for logical OR operation

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 14 12:44:01 JST 2014


Kouhei Sutou	2014-02-14 12:44:01 +0900 (Fri, 14 Feb 2014)

  New Revision: 579049cd3439090f6a26845252b36caf557b578a
  https://github.com/droonga/fluent-plugin-droonga/commit/579049cd3439090f6a26845252b36caf557b578a

  Message:
    Use "or" instead of "||" for logical OR operation

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

  Modified: lib/droonga/plugin/collector/basic.rb (+1 -1)
===================================================================
--- lib/droonga/plugin/collector/basic.rb    2014-02-14 12:43:44 +0900 (eba1fbc)
+++ lib/droonga/plugin/collector/basic.rb    2014-02-14 12:44:01 +0900 (e6144af)
@@ -53,7 +53,7 @@ module Droonga
       when "and"
         reduced_value = left_value and right_value
       when "or"
-        reduced_value = left_value || right_value
+        reduced_value = left_value or right_value
       when "sum"
         reduced_value = sum(left_value, right_value)
         reduced_value = apply_output_range(reduced_value,
-------------- next part --------------
HTML����������������������������...
Download 



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