mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Fix problem with database triggers.
This commit is contained in:
parent
76a02fb125
commit
a0c8f330aa
@ -4835,7 +4835,8 @@ static void save_trigger_data(thread_db* tdbb, trig_vec** ptr, jrd_rel* relation
|
||||
|
||||
if (!vector)
|
||||
{
|
||||
vector = FB_NEW(*relation->rel_pool) trig_vec(*relation->rel_pool);
|
||||
MemoryPool* pool = relation ? relation->rel_pool : attachment->att_pool;
|
||||
vector = FB_NEW(*pool) trig_vec(*pool);
|
||||
*ptr = vector;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user