8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 19:23:03 +01:00

Cleanup SUPERCLIENT - always use same method to get automatic pool

This commit is contained in:
alexpeshkoff 2010-03-24 12:11:59 +00:00
parent b57bc77672
commit f5970e2fca

View File

@ -1077,15 +1077,12 @@ MemoryPool* MemoryPool::getContextPool()
MemoryPool& AutoStorage::getAutoMemoryPool()
{
#ifndef SUPERCLIENT
MemoryPool* p = MemoryPool::getContextPool();
if (! p)
{
p = getDefaultMemoryPool();
}
#else //SUPERCLIENT
MemoryPool* p = getDefaultMemoryPool();
#endif //SUPERCLIENT
fb_assert(p);
return *p;
}