Skip to content

Commit

Permalink
Merge pull request #26785 from yahonda/diag26774
Browse files Browse the repository at this point in the history
Support index.length for MySQL 8.0.0-dmr
  • Loading branch information
rafaelfranca committed Oct 15, 2016
2 parents 1167df3 + 32fc033 commit 8e06900
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -388,7 +388,7 @@ def indexes(table_name, name = nil) #:nodoc:
end

indexes.last.columns << row[:Column_name]
indexes.last.lengths.merge!(row[:Column_name] => row[:Sub_part]) if row[:Sub_part]
indexes.last.lengths.merge!(row[:Column_name] => row[:Sub_part].to_i) if row[:Sub_part]
end
end

Expand Down

0 comments on commit 8e06900

Please sign in to comment.