Skip to content

Commit

Permalink
Detect key only table as a regular table, not an index only table
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 14, 2015
1 parent 89e8ef2 commit 3a52c87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/droonga/plugins/dump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def table?(object)
end

def index_only_table?(table)
return false if table.columns.empty?
table.columns.all? do |column|
index_column?(column)
end
Expand Down

0 comments on commit 3a52c87

Please sign in to comment.