"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/utilities/ntrace/traceplugin.cpp" between
Firebird-3.0.2.32703-0.tar.bz2 and Firebird-3.0.4.33054-0.tar.bz2

About: Firebird is a relational database offering many ANSI SQL standard features.

traceplugin.cpp  (Firebird-3.0.2.32703-0.tar.bz2):traceplugin.cpp  (Firebird-3.0.4.33054-0.tar.bz2)
skipping to change at line 87 skipping to change at line 87
Firebird::ITraceDatabaseConnection* connection = initInfo->getCon nection(); Firebird::ITraceDatabaseConnection* connection = initInfo->getCon nection();
if (!config.enabled || if (!config.enabled ||
(config.connection_id && connection && (config.connection_id && connection &&
(connection->getConnectionID() != config.connecti on_id))) (connection->getConnectionID() != config.connecti on_id)))
{ {
return NULL; // Plugin is not needed, no error happened. return NULL; // Plugin is not needed, no error happened.
} }
Firebird::AutoPtr<Firebird::ITraceLogWriter, Firebird::SimpleRele Firebird::AutoPtr<Firebird::ITraceLogWriter, Firebird::SimpleRele
ase<Firebird::ITraceLogWriter> > ase> logWriter(initInfo->getLogWriter());
logWriter(initInfo->getLogWriter());
if (logWriter) if (logWriter)
config.log_filename = ""; config.log_filename = "";
return FB_NEW TracePluginImpl(this, config, initInfo); // Everyt hing is ok, we created a plugin return FB_NEW TracePluginImpl(this, config, initInfo); // Everyt hing is ok, we created a plugin
} }
catch (Firebird::Exception& ex) catch (Firebird::Exception& ex)
{ {
// put error into trace log // put error into trace log
 End of changes. 1 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)