[Groonga-commit] groonga/groonga at 8edac0d [master] logical_range_filter: add missing temporary tables

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 28 17:52:28 JST 2018


Kouhei Sutou	2018-05-28 17:52:28 +0900 (Mon, 28 May 2018)

  New Revision: 8edac0d69b07596a2c8ae326328e736fa925777e
  https://github.com/groonga/groonga/commit/8edac0d69b07596a2c8ae326328e736fa925777e

  Message:
    logical_range_filter: add missing temporary tables

  Modified files:
    plugins/sharding/logical_range_filter.rb

  Modified: plugins/sharding/logical_range_filter.rb (+2 -0)
===================================================================
--- plugins/sharding/logical_range_filter.rb    2018-05-28 16:47:38 +0900 (fafb2ecf7)
+++ plugins/sharding/logical_range_filter.rb    2018-05-28 17:52:28 +0900 (b4587f462)
@@ -886,6 +886,7 @@ module Groonga
           create_expression(table) do |expression|
             yield(expression)
             result_set = table.select(expression)
+            @temporary_tables << result_set
             add_result_set(result_set)
           end
         end
@@ -905,6 +906,7 @@ module Groonga
           window = detect_window
           if window
             window.each(result_set) do |windowed_result_set|
+              @temporary_tables << windowed_result_set
               sort_result_set(windowed_result_set)
               break if****@conte*****_limit.zero?
             end
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180528/4463d4f6/attachment-0001.htm 



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