From: <hv...@us...> - 2011-11-08 16:48:56
|
Revision: 53615 http://firebird.svn.sourceforge.net/firebird/?rev=53615&view=rev Author: hvlad Date: 2011-11-08 16:48:50 +0000 (Tue, 08 Nov 2011) Log Message: ----------- Additional fix for CORE-3557 : AV in engine when preparing query against dropping table Also fixed CORE-3579 : Can't drop table when computed field depends on later created another field Modified Paths: -------------- firebird/branches/B2_0_Release/src/jrd/dyn_del.epp Modified: firebird/branches/B2_0_Release/src/jrd/dyn_del.epp =================================================================== --- firebird/branches/B2_0_Release/src/jrd/dyn_del.epp 2011-11-08 16:48:05 UTC (rev 53614) +++ firebird/branches/B2_0_Release/src/jrd/dyn_del.epp 2011-11-08 16:48:50 UTC (rev 53615) @@ -1098,6 +1098,10 @@ else GET_STRING(ptr, relation_name); + jrd_rel* rel_drop = MET_lookup_relation(tdbb, relation_name); + if (rel_drop) + MET_scan_relation(tdbb, rel_drop); + jrd_req* req2 = 0; jrd_req* request = CMP_find_request(tdbb, drq_e_rel_con2, DYN_REQUESTS); USHORT id = drq_e_rel_con2; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |