Navigation Menu

Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 27, 2017
1 parent 5131903 commit e599d0f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions lib/groonga/client/command-line/groonga-client-index-check.rb
Expand Up @@ -211,11 +211,11 @@ def check_missing_source
def list_tokens(table_name)
keys = []
response = execute_command(:select,
:table => table_name,
:limit => -1,
:output_columns => :_key)
:table => table_name,
:limit => -1,
:output_columns => :_key)
keys = response.records.collect do |record|
record["_key"]
record["_key"]
end
keys
end
Expand All @@ -225,19 +225,19 @@ def verify_tokens(table_name, old_column, new_column, tokens)
tokens.each do |token|
query = Groonga::Client::ScriptSyntax.format_string(token)
old_response = execute_command(:select,
:table => table_name,
:match_columns => old_column,
:query => query,
:output_columns => :_id,
:limit => -1,
:sort_keys => :_id)
:table => table_name,
:match_columns => old_column,
:query => query,
: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)
:table => table_name,
:match_columns => new_column,
:query => query,
: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 e599d0f

Please sign in to comment.