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

Fixed CORE-2685 - ALTER VIEW does not remove the system triggers of view with check option

This commit is contained in:
asfernandes 2009-10-16 15:43:08 +00:00
parent 2c59722bc7
commit 6abdc465cf

View File

@ -2166,6 +2166,17 @@ void DYN_modify_view( Global* gbl, const UCHAR** ptr)
END_FOR;
CMP_release(tdbb, request2);
request2 = NULL;
FOR (REQUEST_HANDLE request2 TRANSACTION_HANDLE gbl->gbl_transaction)
TRG IN RDB$TRIGGERS
WITH TRG.RDB$RELATION_NAME EQ view_name.c_str()
ERASE TRG;
END_FOR
CMP_release(tdbb, request2);
}
UCHAR verb;