8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:43:03 +01:00

Fixed bug reported by Adriano.

This commit is contained in:
dimitr 2006-06-01 04:45:48 +00:00
parent 53ab3a4d17
commit b116dd382c

View File

@ -4345,7 +4345,8 @@ static void store_dependencies(thread_db* tdbb,
fb_assert(checkTableScope && dep_rel || !checkTableScope);
if (checkTableScope &&
( dep_rel->isTemporary() != relation->isTemporary() ))
( (dep_rel->rel_flags & (REL_temp_tran | REL_temp_conn)) !=
(relation->rel_flags & (REL_temp_tran | REL_temp_conn)) ))
{
if ( !( (dep_rel->rel_flags & REL_temp_tran) &&
(relation->rel_flags & REL_temp_conn) ))