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

Method ReplPlugin

examples/replication/fbSampleReplicator.cpp:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115static const ISC_STATUS wrn[] = { isc_arg_gds, isc_random, isc_arg_string, (ISC_STATUS)"Just a warning", isc_arg_end };
116
117ReplPlugin::ReplPlugin(IPluginConfig* conf)
118{
119 char fn[100];
120 sprintf(fn, "session_%08x_%d.log", (unsigned)time(nullptr), logCounter++);
121 log = fopen(fn, "w");
122 WriteLog(log, "%p\tReplicatedSession constructed\n", this);
123 status = master->getStatus();
124}
125
126ReplPlugin::~ReplPlugin()
127{

Callers

nothing calls this directly

Calls 2

fopenFunction · 0.50
getStatusMethod · 0.45

Tested by

no test coverage detected