Doctrine 1
  1. Doctrine 1
  2. DC-1036

Doctrine_Export_Oracle::alterTable() not properly quoting column identifier for change

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2, 1.2.3
    • Fix Version/s: None
    • Component/s: Import/Export
    • Labels:
      None

      Description

      This bug was introduced by the person reporting the bug #DC-592.

      When trying to generate an ALTER TABLE statement with Doctrine_Core::ATTR_QUOTE_IDENTIFIER enabled, the column identifier is not quoted, and a blank identifier is instead quoted, generating the following SQL:

      ALTER TABLE "mytable" MODIFY (username "" VARCHAR2(200))

      The proper SQL to be generated should be:

      ALTER TABLE "mytable" MODIFY ("username" VARCHAR2(200))

        Activity

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            John Kary
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: