8
0
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:
asfernandes 2011-06-03 17:39:22 +00:00
parent 76a02fb125
commit a0c8f330aa

View File

@ -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;
}