8
0
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:
dimitr 2009-06-11 11:13:24 +00:00
parent 22011cefe5
commit 446534ae8e
2 changed files with 5 additions and 6 deletions

View File

@ -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);

View File

@ -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);