Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-452

range is a reserved word in several platforms

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.3.3
    • Component/s: Platforms
    • Labels:
      None
    • Environment:
      Linux 64bit

      Description

      'range' is a reserved word for MySQL, Oracle, and on future reserved list for SQL Server as well so should really be added for escaping. Working on a new project using Doctrine accessing an external API which used it as a field and got an error when running orm:schema-tool:create on my entity with MySQL.

        Activity

        Hide
        Benjamin Eberlei added a comment -

        Added for MySQL and Oracle. Didn't find data on when its added to SQL Server.

        Show
        Benjamin Eberlei added a comment - Added for MySQL and Oracle. Didn't find data on when its added to SQL Server.
        Hide
        Michael Cummings added a comment -
        Show
        Michael Cummings added a comment - http://msdn.microsoft.com/en-us/library/ms189822.aspx under Future Keywords

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Michael Cummings
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: