mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
Minor postfix for CORE-3305: "BLOB not found" error after creation/altering of the invalid trigger.
This commit is contained in:
parent
e0c490d49e
commit
17978f58f0
@ -4421,7 +4421,9 @@ static void get_trigger(thread_db* tdbb, jrd_rel* relation,
|
||||
|
||||
Database* dbb = tdbb->getDatabase();
|
||||
blb* blrBlob = BLB_open(tdbb, dbb->dbb_sys_trans, blob_id);
|
||||
blb* debugInfoBlob = BLB_open(tdbb, dbb->dbb_sys_trans, debug_blob_id);
|
||||
blb* debugInfoBlob = debug_blob_id->isEmpty() ? NULL :
|
||||
BLB_open(tdbb, dbb->dbb_sys_trans, debug_blob_id);
|
||||
|
||||
save_trigger_data(tdbb, ptr, relation, NULL, blrBlob, debugInfoBlob,
|
||||
name, type, sys_trigger, flags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user