'type of column' error message improvements
-------------------------------------------
Key: CORE-5731
URL: http://tracker.firebirdsql.org/browse/CORE-5731
Project: Firebird Core
Issue Type: Improvement
Affects Versions: 2.5.8, 3.0.2
Reporter: Pavel Cisar
after misspelling table in 'type of column' declaration
error message begins with 'column does not exists',
thus developers start looking for problems in wrong place (columns),
and it may take a while to spot real error (table), e.g.:
set term ^ ;
create or alter procedure test_err
as
declare variable var type of column tbl.fld;
begin
select fld from tbl into :var;
end
^
set term ; ^
commit;
/*column FLD does not exist in table/view TBL*/
would it be possible to improve error messages
and make it work like in 'select' statements (table has priority over columns):
select fld from tbl;
/*-Table unknown
-TBL*/
select fld from rdb$database;
/*-Column unknown
-FLD*/
--
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel