Inconsistent column/line references when PSQL definitions return errors ------------------------------------------------------------------------
Key: CORE-5404 URL: http://tracker.firebirdsql.org/browse/CORE-5404 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 3.0.1, 2.5.6 Environment: Any Reporter: Helen Borrie Priority: Minor line/column numbers are not shown in the error message for first SP, but are shown in the error message for second SP: SET TERM ^; create or alter procedure REP_TMP_CCDM_60106 as declare variable tmpInt smallint; begin select "" from rdb$database into tmpInt; end ^ SET TERM ;^ /*Statement failed, SQLSTATE = 42S22 Dynamic SQL Error -SQL error code = -206 -Column unknown*/ SET TERM ^; create or alter procedure REP_TMP_CCDM_60106 as declare variable tmpInt smallint; begin select "d" from rdb$database into tmpInt; end ^ SET TERM ;^ /*Statement failed, SQLSTATE = 42S22 Dynamic SQL Error -SQL error code = -206 -Column unknown -d -At line 5, column 14*/ The above report came from a v.2.5.6 user, dialect 3. Tested also in v.3.0.1, although the error message for the first case is more accurate: Statement failed, SQLSTATE = 42000 Dynamic SQL Error -SQL error code = -104 -Zero length identifiers are not allowed -- 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