Kouhei Sutou 2019-04-12 16:09:40 +0900 (Fri, 12 Apr 2019) Revision: 888df444e3387babc565c29f5335c009c814a935 https://github.com/groonga/groonga/commit/888df444e3387babc565c29f5335c009c814a935 Message: logical_range_filter: push a table to be closed to temporary_tables ASAP Modified files: plugins/sharding/logical_range_filter.rb Modified: plugins/sharding/logical_range_filter.rb (+1 -1) =================================================================== --- plugins/sharding/logical_range_filter.rb 2019-04-12 15:26:03 +0900 (5636e648c) +++ plugins/sharding/logical_range_filter.rb 2019-04-12 16:09:40 +0900 (a376c4323) @@ -192,10 +192,10 @@ module Groonga if****@conte*****_sets.empty? result_set = HashTable.create(:flags => ObjectFlags::WITH_SUBREC, :key_type => first_shard.table) + @context.temporary_tables << result_set targets = [[result_set, nil]] @context.dynamic_columns.apply_initial(targets) @context.dynamic_columns.apply_filtered(targets) - @context.temporary_tables << result_set @context.result_sets << result_set end end -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190412/016f2306/attachment.html>