MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / REPL_journal_switch

Function REPL_journal_switch

src/jrd/replication/Publisher.cpp:688–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686}
687
688void REPL_journal_switch(thread_db* tdbb)
689{
690 const auto dbb = tdbb->getDatabase();
691
692 const auto replMgr = dbb->replManager();
693 if (!replMgr)
694 return;
695
696 replMgr->forceJournalSwitch();
697}

Callers 1

beginBackupMethod · 0.85

Calls 3

getDatabaseMethod · 0.80
replManagerMethod · 0.80
forceJournalSwitchMethod · 0.80

Tested by

no test coverage detected