Incorrect column in error message for "Unexpected end of command"
-----------------------------------------------------------------

                 Key: CORE-4816
                 URL: http://tracker.firebirdsql.org/browse/CORE-4816
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 2.5.4
            Reporter: Maxim Kuzmin
            Priority: Minor


Query:
------------------------------------------
SELECT
    T.*
FROM
    (SELECT
       '1'
    FROM
        RDB$DATABASE

-- Comment
-- Comment
-- Comment
-- Comment
------------------------------------------

Prepare failed with message:
Invalid token.
Dynamic SQL Error.
SQL error code = -104.
Unexpected end of command - line 12, column 9.

Column 9 is wrong, since it is in the middle of a comment.

-- 
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

        

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to