mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Fixed CORE-5410 - Dependencies are not stored when using some type of contructions in subroutines.
This commit is contained in:
parent
8b3c6b40f7
commit
48d43a88fe
@ -1382,7 +1382,7 @@ DmlNode* DeclareSubFuncNode::parse(thread_db* tdbb, MemoryPool& pool, CompilerSc
|
||||
|
||||
{ // scope
|
||||
CompilerScratch* const subCsb = node->subCsb = CompilerScratch::newCsb(csb->csb_pool, 5);
|
||||
subCsb->csb_g_flags |= csb_subroutine;
|
||||
subCsb->csb_g_flags |= csb_subroutine | (csb->csb_g_flags & csb_get_dependencies);
|
||||
subCsb->csb_blr_reader = csb->csb_blr_reader;
|
||||
|
||||
BlrReader& reader = subCsb->csb_blr_reader;
|
||||
@ -1657,7 +1657,7 @@ DmlNode* DeclareSubProcNode::parse(thread_db* tdbb, MemoryPool& pool, CompilerSc
|
||||
|
||||
{ // scope
|
||||
CompilerScratch* const subCsb = node->subCsb = CompilerScratch::newCsb(csb->csb_pool, 5);
|
||||
subCsb->csb_g_flags |= csb_subroutine;
|
||||
subCsb->csb_g_flags |= csb_subroutine | (csb->csb_g_flags & csb_get_dependencies);
|
||||
subCsb->csb_blr_reader = csb->csb_blr_reader;
|
||||
|
||||
BlrReader& reader = subCsb->csb_blr_reader;
|
||||
|
Loading…
Reference in New Issue
Block a user