FB#: Delimited identifiers does not work anymore for CREATE/ALTER/DROP TABLE
----------------------------------------------------------------------------

                 Key: CORE-4282
                 URL: http://tracker.firebirdsql.org/browse/CORE-4282
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Alpha 1
         Environment: Windows
            Reporter: Robert


(WI-T3.0.0.30566 Firebird 3.0 Alpha 1) 
[Regression]

Test case 1 ("Table X" is a delimited identifier):

CREATE TABLE "Table X"
(
  FieldY INTEGER PRIMARY KEY
)


This result in error on executing:

unsuccessful metadata update
CREATE TABLE Table X failed
expression evaluation not supported

SQL code: -607

Same error for test case 2 ("Field Y" is a delimited identifier):

CREATE TABLE TableX
(
  "Field Y" INTEGER PRIMARY KEY
)

Same error for test case 3:
ALTER TABLE TableX ADD "Field Y" INTEGER

Same error for test case 4:
DROP TABLE "Table Z"  /* table "Table Z was created under FB2.5 and restored 
under FB3 */


My first guess is something is broken in the sql parser for FB3 regaring 
CREATE/ALTER/DROP TABLE. 
Under FB2.5 these DDLs work okay.

Note: other DDL statements (like CREATE DOMAIN "Domain X" AS INTEGER), still 
work fine with delimited identifiers in FB3.

- Robert
NL

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to