Fix platform create constraint foreign table name quotation #287

Merged
merged 2 commits into from Mar 19, 2013

Conversation

Projects
None yet
3 participants
@deeky666
Member

deeky666 commented Mar 19, 2013

Creating foreign key constraints via getCreateConstraintSQL in the platform doesn't quote the foreign table name leading to invalid SQL when the foreign table name is a reserved keyword. This PR fixes this issue.

@doctrinebot

This comment has been minimized.

Show comment Hide comment
@doctrinebot

doctrinebot Mar 19, 2013

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DBAL-466

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DBAL-466

guilhermeblanco added a commit that referenced this pull request Mar 19, 2013

Merge pull request #287 from deeky666/fix-create-constraint-quotation
Fix platform create constraint foreign table name quotation

@guilhermeblanco guilhermeblanco merged commit b88f2e5 into doctrine:master Mar 19, 2013

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment