[Groonga-commit] droonga/droonga-engine at 016c497 [master] select: use the same default value for output_columns

Back to archive index

Kouhei Sutou null+****@clear*****
Tue May 27 18:16:28 JST 2014


Kouhei Sutou	2014-05-27 18:16:28 +0900 (Tue, 27 May 2014)

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

  Message:
    select: use the same default value for output_columns

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

  Modified: lib/droonga/plugins/groonga/select.rb (+1 -1)
===================================================================
--- lib/droonga/plugins/groonga/select.rb    2014-05-27 18:15:59 +0900 (91d74a9)
+++ lib/droonga/plugins/groonga/select.rb    2014-05-27 18:16:28 +0900 (79d1f8a)
@@ -26,7 +26,7 @@ module Droonga
             @table = select_request["table"]
             @result_name = @table + "_result"
 
-            output_columns = select_request["output_columns"] || ""
+            output_columns = select_request["output_columns"] || "_id, _key, *"
             attributes = output_columns.split(/\s*,\s*/)
             offset = (select_request["offset"] || "0").to_i
             limit = (select_request["limit"] || "10").to_i
-------------- next part --------------
HTML����������������������������...
Télécharger 



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