|
From: <hv...@us...> - 2011-07-16 10:41:33
|
Revision: 53318
http://firebird.svn.sourceforge.net/firebird/?rev=53318&view=rev
Author: hvlad
Date: 2011-07-16 10:41:27 +0000 (Sat, 16 Jul 2011)
Log Message:
-----------
Port forward fix for bug CORE-3557 : AV in engine when preparing query against dropping table
Modified Paths:
--------------
firebird/trunk/src/jrd/vio.cpp
Modified: firebird/trunk/src/jrd/vio.cpp
===================================================================
--- firebird/trunk/src/jrd/vio.cpp 2011-07-16 10:38:10 UTC (rev 53317)
+++ firebird/trunk/src/jrd/vio.cpp 2011-07-16 10:41:27 UTC (rev 53318)
@@ -1341,7 +1341,9 @@
IBERROR(187); // msg 187 cannot delete system relations
}
DFW_post_work(transaction, dfw_delete_relation, &desc, id);
- MET_lookup_relation_id(tdbb, id, false);
+ jrd_rel* rel_drop = MET_lookup_relation_id(tdbb, id, false);
+ if (rel_drop)
+ MET_scan_relation(tdbb, rel_drop);
}
break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|