8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 14:03:07 +01:00

Fixed bug CORE-3418 : Inactive DB-trigger after Create/Alter Is Active

This commit is contained in:
hvlad 2011-03-30 22:51:35 +00:00
parent 63912bbe57
commit 44f1446f01

View File

@ -1698,7 +1698,8 @@ void MET_load_trigger(thread_db* tdbb,
FOR(REQUEST_HANDLE request)
TRG IN RDB$TRIGGERS
WITH TRG.RDB$TRIGGER_NAME EQ trigger_name.c_str()
WITH TRG.RDB$TRIGGER_NAME EQ trigger_name.c_str() AND
TRG.RDB$TRIGGER_INACTIVE EQ 0
{
// check if the trigger is to be fired without any permissions
// checks. Verify such a claim