mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Undo the changes no longer necessary.
This commit is contained in:
parent
22011cefe5
commit
446534ae8e
@ -83,16 +83,15 @@ JrdMemoryPool *JrdMemoryPool::createDbPool(Firebird::MemoryStats &stats) {
|
||||
return result;
|
||||
}
|
||||
|
||||
JrdMemoryPool *JrdMemoryPool::createPool(bool withParent) {
|
||||
JrdMemoryPool *JrdMemoryPool::createPool() {
|
||||
Database* dbb = GET_DBB();
|
||||
fb_assert(dbb);
|
||||
|
||||
|
||||
#ifdef SUPERSERVER
|
||||
JrdMemoryPool* result = (JrdMemoryPool *)internal_create(sizeof(JrdMemoryPool),
|
||||
withParent ? dbb->dbb_permanent : NULL, dbb->dbb_memory_stats);
|
||||
dbb->dbb_permanent, dbb->dbb_memory_stats);
|
||||
#else
|
||||
JrdMemoryPool *result = (JrdMemoryPool *)internal_create(sizeof(JrdMemoryPool),
|
||||
withParent ? dbb->dbb_permanent : NULL);
|
||||
JrdMemoryPool *result = (JrdMemoryPool *)internal_create(sizeof(JrdMemoryPool), dbb->dbb_permanent);
|
||||
#endif
|
||||
result->plb_dccs = NULL;
|
||||
dbb->dbb_pools.push(result);
|
||||
|
@ -49,7 +49,7 @@ protected:
|
||||
~JrdMemoryPool();
|
||||
public:
|
||||
static JrdMemoryPool *createDbPool(Firebird::MemoryStats &stats);
|
||||
static JrdMemoryPool *createPool(bool withParent = true);
|
||||
static JrdMemoryPool *createPool();
|
||||
static JrdMemoryPool** deletePool(JrdMemoryPool* pool);
|
||||
static void noDbbDeletePool(JrdMemoryPool* pool);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user