Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

[DC-1037] Quote identifiers when getting/setting Migration version #41

Closed
wants to merge 1 commit into from
Closed

Conversation

johnkary
Copy link
Contributor

@johnkary johnkary commented Sep 7, 2011

This is a fix for ticket DC-1037:
http://www.doctrine-project.org/jira/browse/DC-1037

Without this patch, Migrations are fully broken for some databases (at least Oracle) when using quoted identifiers connection option.

This patch quotes identifiers used to generate raw SQL commands used in Doctrine_Migration.

I don't think this would present any type of backwards compatibility issues since we weren't quoting identifiers before, and there is no way to catch/modify the query before it is executed during the migration process.

@Ocramius Ocramius closed this May 10, 2017
ybr-nx pushed a commit to zone-eu/doctrine1 that referenced this pull request Mar 21, 2019
 PHP 7.2 - deprecated "each" calls
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants