[Groonga-commit] droonga/droonga-engine at c29792f [master] groonga: Convert select results correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Apr 28 18:59:17 JST 2014


YUKI Hiroshi	2014-04-28 18:59:17 +0900 (Mon, 28 Apr 2014)

  New Revision: c29792faf20d23fabb0f52cb16a5f7ac41de03f3
  https://github.com/droonga/droonga-engine/commit/c29792faf20d23fabb0f52cb16a5f7ac41de03f3

  Message:
    groonga: Convert select results correctly

  Modified files:
    lib/droonga/plugins/groonga/select.rb

  Modified: lib/droonga/plugins/groonga/select.rb (+2 -6)
===================================================================
--- lib/droonga/plugins/groonga/select.rb    2014-04-28 18:59:05 +0900 (5bc549b)
+++ lib/droonga/plugins/groonga/select.rb    2014-04-28 18:59:17 +0900 (29d5644)
@@ -152,12 +152,8 @@ module Droonga
               end
             end
 
-            select_results = [@header, [@body]]
-            @drilldown_results.each do |result|
-              select_results.last << result
-            end
-
-            select_results
+            select_results = [@body] + @drilldown_results
+            [@header, select_results]
           end
 
           private
-------------- next part --------------
HTML����������������������������...
Download 



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