8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00
This commit is contained in:
alexpeshkoff 2013-11-14 15:36:59 +00:00
parent cc9d73f394
commit ae5e485cc5

View File

@ -97,6 +97,13 @@ ModuleLoader::Module* ModuleLoader::loadModule(const Firebird::PathName& modPath
return 0;
}
#ifdef DEBUG_THREAD_IN_UNLOADED_LIBRARY
Firebird::string command;
command.printf("echo +++ %s +++ >>/tmp/fbmaps;date >> /tmp/fbmaps;cat /proc/%d/maps >>/tmp/fbmaps",
modPath.c_str(), getpid());
system(command.c_str());
#endif
return FB_NEW(*getDefaultMemoryPool()) DlfcnModule(module);
}