Navigation Menu

Skip to content

Commit

Permalink
index-check: don't use Symbol instead of String
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 30, 2017
1 parent a901676 commit b80b5bc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/groonga/client/command-line/groonga-client-index-check.rb
Expand Up @@ -138,8 +138,8 @@ def check_source(column)
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
Expand All @@ -153,16 +153,16 @@ def verify_tokens(table_name, old_column, new_column, tokens)
: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
Expand Down

0 comments on commit b80b5bc

Please sign in to comment.