inet_server.cpp (Firebird-3.0.2.32703-0.tar.bz2) | : | inet_server.cpp (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 424 | skipping to change at line 424 | |||
{ | { | |||
logSecurityDatabaseError(path, status); | logSecurityDatabaseError(path, status); | |||
} | } | |||
} | } | |||
} // end scope | } // end scope | |||
fb_shutdown_callback(NULL, closePort, fb_shut_exit, port); | fb_shutdown_callback(NULL, closePort, fb_shut_exit, port); | |||
SRVR_multi_thread(port, INET_SERVER_flag); | SRVR_multi_thread(port, INET_SERVER_flag); | |||
#ifdef DEBUG_GDS_ALLOC | ||||
// In Debug mode - this will report all server-side memory leaks | ||||
due to remote access | ||||
Firebird::PathName name = fb_utils::getPrefix( | ||||
Firebird::IConfigManager::DIR_LOG, "memdebug.log"); | ||||
FILE* file = os_utils::fopen(name.c_str(), "w+t"); | ||||
if (file) | ||||
{ | ||||
fprintf(file, "Global memory pool allocated objects\n"); | ||||
getDefaultMemoryPool()->print_contents(file); | ||||
fclose(file); | ||||
} | ||||
#endif | ||||
// perform atexit shutdown here when all globals in embedded libr ary are active | // perform atexit shutdown here when all globals in embedded libr ary are active | |||
// also sync with possibly already running shutdown in dedicated thread | // also sync with possibly already running shutdown in dedicated thread | |||
fb_shutdown(10000, fb_shutrsn_exit_called); | fb_shutdown(10000, fb_shutrsn_exit_called); | |||
return FINI_OK; | return FINI_OK; | |||
} | } | |||
catch (const Firebird::Exception& ex) | catch (const Firebird::Exception& ex) | |||
{ | { | |||
Firebird::StaticStatusVector st; | Firebird::StaticStatusVector st; | |||
ex.stuffException(st); | ex.stuffException(st); | |||
End of changes. 1 change blocks. | ||||
15 lines changed or deleted | 0 lines changed or added |