Subroutines not create dependencies ----------------------------------- Key: CORE-5410 URL: http://tracker.firebirdsql.org/browse/CORE-5410 Project: Firebird Core Issue Type: Bug Components: Engine Affects Versions: 3.0.1, 3.0.2 Environment: Win32 - 3.0.1.32609 and 3.0.2.32641 snapshot Reporter: Gabor Boros Priority: Blocker
In the below isql test case the NEW_PROCEDURE stored procedure (with PROC1 sub-procedure) depend on the NEW_TABLE table which can be dropped without any error SELECT * FROM RDB$DEPENDENCIES; returns nothing. SQL> CREATE DATABASE 'SUB_DEPEND.FDB' CON> user 'SYSDBA' password 'masterkey'; isql -i SUB_DEPEND.sql -user SYSDBA 'SUB_DEPEND.FDB' SUB_DEPEND.sql: CREATE TABLE NEW_TABLE (NEW_FIELD INTEGER); COMMIT; SET TERM ^; CREATE PROCEDURE NEW_PROCEDURE AS DECLARE PROCEDURE PROC1 AS DECLARE VARIABLE VAR1 INTEGER; BEGIN SELECT NEW_FIELD FROM NEW_TABLE INTO VAR1; END BEGIN EXECUTE PROCEDURE PROC1; END; ^ SET TERM ;^ COMMIT; DROP TABLE NEW_TABLE; COMMIT; -- 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