8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

Add manual delete for tra_dbcreators_list (#8207)

* Delete tra_dbcreators_list in ~jrd_tra

If we don't delete it manually assert will be thrown if SEC$DB_CREATORS returns a lot of records

* Add missing default initialization for tra_dbcreators_list

---------

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
This commit is contained in:
TreeHunter 2024-08-06 16:07:32 +03:00 committed by Dmitry Yemanov
parent d670ad69a4
commit 6627097db5
2 changed files with 2 additions and 0 deletions

View File

@ -3792,6 +3792,7 @@ jrd_tra::~jrd_tra()
delete tra_user_management;
delete tra_timezone_snapshot;
delete tra_mapping_list;
delete tra_dbcreators_list;
delete tra_gen_ids;
if (!tra_outer)

View File

@ -198,6 +198,7 @@ public:
tra_user_management(NULL),
tra_sec_db_context(NULL),
tra_mapping_list(NULL),
tra_dbcreators_list(nullptr),
tra_autonomous_pool(NULL),
tra_autonomous_cnt(0)
{