[Groonga-commit] groonga/groonga at eb28dc9 [master] logical_select: stop to use "not not" condition

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 19 18:43:37 JST 2018


Kouhei Sutou	2018-02-19 18:43:37 +0900 (Mon, 19 Feb 2018)

  New Revision: eb28dc9d623965190673a40e3dbc596f66270df7
  https://github.com/groonga/groonga/commit/eb28dc9d623965190673a40e3dbc596f66270df7

  Message:
    logical_select: stop to use "not not" condition

  Modified files:
    plugins/sharding/logical_select.rb

  Modified: plugins/sharding/logical_select.rb (+1 -1)
===================================================================
--- plugins/sharding/logical_select.rb    2018-02-19 18:43:11 +0900 (17f8c7d7c)
+++ plugins/sharding/logical_select.rb    2018-02-19 18:43:37 +0900 (30f95cf89)
@@ -805,7 +805,7 @@ module Groonga
             dynamic_column.apply(result_set, condition)
           end
 
-          unless @post_filter.nil?
+          if @post_filter
             filtered_table = result_set
             result_set = apply_post_filter(filtered_table)
             @context.temporary_tables << filtered_table
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180219/57855901/attachment.htm 



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