Navigation Menu

Skip to content

Commit

Permalink
groonga: Handle array tables correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 24, 2014
1 parent 7c14856 commit aa126b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/droonga/plugins/groonga/table_list.rb
Expand Up @@ -89,11 +89,13 @@ def range_name(table)
end

def default_tokenizer_name(table)
return nil if table.is_a?(::Groonga::Array)
return nil unless table.default_tokenizer
table.default_tokenizer.name
end

def normalizer_name(table)
return nil if table.is_a?(::Groonga::Array)
return nil unless table.domain
return nil unless table.normalizer
table.normalizer.name
Expand Down

0 comments on commit aa126b0

Please sign in to comment.