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:
parent
2c59722bc7
commit
6abdc465cf
@ -2166,6 +2166,17 @@ void DYN_modify_view( Global* gbl, const UCHAR** ptr)
|
|||||||
END_FOR;
|
END_FOR;
|
||||||
|
|
||||||
CMP_release(tdbb, request2);
|
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;
|
UCHAR verb;
|
||||||
|
Loading…
Reference in New Issue
Block a user