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

Allow replication for a freshly created database

This commit is contained in:
Dmitry Yemanov 2021-05-06 19:52:33 +03:00
parent aa93eb3fd0
commit 7338eab650

View File

@ -3123,6 +3123,8 @@ JAttachment* JProvider::createDatabase(CheckStatusWrapper* user_status, const ch
dbb->dbb_flags &= ~(DBB_new | DBB_creating);
guardDbInit.leave();
REPL_attach(tdbb, false);
// Report that we created attachment to Trace API
attachment->att_trace_manager->activate();
if (attachment->att_trace_manager->needs(ITraceFactory::TRACE_EVENT_ATTACH))