Skip to content
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

Active Record supports MySQL >= 5.1.10 #27435

Merged
merged 1 commit into from
Jan 3, 2017
Merged

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented Dec 22, 2016

Follow up to #25307 and #23458. Related with #27422.

We are using information_schema.referential_constraints since #25307.
The table was introduced in MySQL 5.1.10. MySQL 5.0 is too old. It is
enough to support >= 5.1.10 at least.

MySQL 5.0 GA was released in Dec 2005 and already EOL in Dec 2011.
MySQL 5.1 GA was released in Dec 2008 and already EOL in Dec 2013.

Follow up to rails#25307 and rails#23458. Related with rails#27422.

We are using `information_schema.referential_constraints` since rails#25307.
The table was introduced in MySQL 5.1.10. MySQL 5.0 is too old. It is
enough to support >= 5.1.10 at least.

MySQL 5.0 GA was released in Dec 2005 and already EOL in Dec 2011.
MySQL 5.1 GA was released in Dec 2008 and already EOL in Dec 2013.
@rails-bot
Copy link

r? @sgrif

(@rails-bot has picked a reviewer for you, use r? to override)

@matthewd
Copy link
Member

This seems fine for master, but we'll need to fix it for 5.0; we can't drop compatibility in a patch release.

@sgrif
Copy link
Contributor

sgrif commented Jan 3, 2017

Agreed. Feel free to submit a follow-up directly to 5-0-stable.

@sgrif sgrif merged commit 0d8069d into rails:master Jan 3, 2017
@kamipo kamipo deleted the follow_up_25307 branch January 3, 2017 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants