Placing comment (single-lined or multi-lined) between final `END` of creating
SP code and terminal character (^) produces compiling error when tool uses old
API
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: CORE-4890
URL: http://tracker.firebirdsql.org/browse/CORE-4890
Project: Firebird Core
Issue Type: Bug
Components: API / Client Library, Engine
Affects Versions: 3.0 RC 1
Reporter: Pavel Zotov
Following script (note that after `end` and before `^` there are comments):
set term ^;
create or alter procedure sp_test1 as
begin
exit;
end -- blah-blah-blah'
^
create or alter procedure sp_test2 as
begin
exit;
end /* blah-blah-blah */
^
-- runs OK in ISQL but produces strange exception in IBExpert when connecting
to WI-V6.3.0.31948
Error messages in IBExpert:
Unsuccessful execution caused by system error that does not preclude successful
execution of subsequent statements.
Parse to tokens error.
Missing close comment for --.
= and =
Unsuccessful execution caused by system error that does not preclude successful
execution of subsequent statements.
Firebird::string - pos out of range.
(for the 1st and 2nd DDL accordingly).
I thought that this is bug in IBE but *no* such errors in this IDE when doing
that on WI-V6.3.5.26916.
As I was explained in russian FB conference (
http://www.sql.ru/forum/actualutils.aspx?action=gotomsg&tid=1168067&msg=17946430
), IBE uses some old kind of API rather than ISQL.
So, it seems that this is bug somewhere in FB-parser.
--
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