[DBAL-418] [GH-251] Escape identifier names in MySQL ALTER queries Created: 21/Jan/13  Updated: 01/Apr/13  Resolved: 01/Apr/13

Status: Resolved
Project: Doctrine DBAL
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Invalid Votes: 0
Labels: None


 Description   

This issue is created automatically through a Github pull request on behalf of Xowap:

Url: https://github.com/doctrine/dbal/pull/251

Message:

The generated MySQL queries did not properly escape the identifier, thus
making it impossible to use SQL keywords as field/index/table name.

Although this is indeed a quite unwise design choice, this is required
for many legacy applications.

The submitted modifications do cover MySQL only, because it is the one that I need to use. However, I think that all the platforms are flawed with this issue and that a general re-work should be done here.



 Comments   
Comment by Benjamin Eberlei [ 21/Jan/13 ]

A related Github Pull-Request [GH-251] was opened
https://github.com/doctrine/dbal/pull/251

Generated at Tue Oct 21 15:30:54 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.