forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto_increment
is the only column to be returned after insert for D…
…Bs with no `RETURNING` support c2c861f wasn't a sufficient fix for tables that have more than just one auto populated column but the database doesn't support `RETURNING` statement. This commit ensures that mysql adapters will only consider `auto_increment` columns to be returned after insert which also implies that only one column can be returned after insert.
- Loading branch information
1 parent
da32425
commit 878968f
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters