[Groonga-commit] ranguba/groonga-client at b80b5bc [master] index-check: don't use Symbol instead of String

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Oct 30 15:22:02 JST 2017


Kouhei Sutou	2017-10-30 15:22:02 +0900 (Mon, 30 Oct 2017)

  New Revision: b80b5bcfb0e92c4c6c9d4fff4eaf19b8ddf041b8
  https://github.com/ranguba/groonga-client/commit/b80b5bcfb0e92c4c6c9d4fff4eaf19b8ddf041b8

  Message:
    index-check: don't use Symbol instead of String

  Modified files:
    lib/groonga/client/command-line/groonga-client-index-check.rb

  Modified: lib/groonga/client/command-line/groonga-client-index-check.rb (+8 -8)
===================================================================
--- lib/groonga/client/command-line/groonga-client-index-check.rb    2017-10-30 14:55:38 +0900 (e52f360)
+++ lib/groonga/client/command-line/groonga-client-index-check.rb    2017-10-30 15:22:02 +0900 (37ba2be)
@@ -138,8 +138,8 @@ module Groonga
           def list_tokens(table_name)
             response = execute_command(:select,
                                        :table => table_name,
-                                       :limit => -1,
-                                       :output_columns => :_key)
+                                       :limit => "-1",
+                                       :output_columns => "_key")
             response.records.collect do |record|
               record["_key"]
             end
@@ -153,16 +153,16 @@ module Groonga
                                              :table => table_name,
                                              :match_columns => old_column,
                                              :query => query,
-                                             :output_columns => :_id,
-                                             :limit => -1,
-                                             :sort_keys => :_id)
+                                             :output_columns => "_id",
+                                             :limit => "-1",
+                                             :sort_keys => "_id")
               new_response = execute_command(:select,
                                              :table => table_name,
                                              :match_columns => new_column,
                                              :query => query,
-                                             :output_columns => :_id,
-                                             :limit => -1,
-                                             :sort_keys => :_id)
+                                             :output_columns => "_id",
+                                             :limit => "-1",
+                                             :sort_keys => "_id")
               old_response_ids = old_response.records.collect do |value|
                 value["_id"]
               end
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171030/8d52a4e5/attachment-0001.htm 



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