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:
parent
b57bc77672
commit
f5970e2fca
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user