mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
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
This commit is contained in:
parent
3021ee6501
commit
13c6c850ae
@ -1098,6 +1098,10 @@ void DYN_delete_relation( Global* gbl, const UCHAR** ptr, const Firebird::MetaNa
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user