-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support index.length for MySQL 8.0.0-dmr #26785
Conversation
MySQL 8.0.0-dmr `SUB_PART` column of `information_schema.statistics` changed to varbinary(12), which is bigint(3) in MySQL 5.6. Addresses rails#26774
r? @kaspth (@rails-bot has picked a reviewer for you, use r? to override) |
Support index.length for MySQL 8.0.0-dmr
Backported in 4cf4c86 |
The backport broke the build: https://travis-ci.org/rails/rails/jobs/168139524 (I haven't looked into why master doesn't have the same problem.) |
💣 I'll revert the backport :(. @yahonda could you investigate? |
This reverts commit 4cf4c86. Reason: It broke the build
If |
Originally |
let me check. |
This reverts commit b9964f4.
Opened #26806 for |
Closed #26806 which would cause another regression. So far I'm leaving |
Summary
This pull request addresses #26774 since MySQL 8.0.0-dmr
SUB_PART
column ofinformation_schema.statistics
changed to varbinary(12), which is bigint(3) in MySQL 5.6.This pull request has been tested with both versions of MySQL.