diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-10-24 06:30:40 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-10-24 06:30:40 +0000 |
commit | c471d2bdebcad002a7f867b73811b803396b793e (patch) | |
tree | 08a68a044e2c6471ef6fa409d22bccc09981f3de /src | |
parent | 7f76072d81f02c3429ceacee84f602c689adb873 (diff) | |
download | postgresql-c471d2bdebcad002a7f867b73811b803396b793e.tar.gz postgresql-c471d2bdebcad002a7f867b73811b803396b793e.zip |
Take out the PERFECT_MMGR #ifdefs:
My guess is that the thing had bugs, and the pfree was commented out.
The thing is probabally free'ed anyway at the end, so it was not a bad
thing.
If it does cause a bug, it will generate an error when hit, so I say
unless someone else knows, let's remove it and run the regression test.
-Bruce
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/hash/hash.c | 4 | ||||
-rw-r--r-- | src/backend/access/nbtree/nbtree.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/access/hash/hash.c b/src/backend/access/hash/hash.c index 37ac4d1c700..20a2b65a839 100644 --- a/src/backend/access/hash/hash.c +++ b/src/backend/access/hash/hash.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.6 1996/10/23 07:38:29 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.7 1996/10/24 06:30:23 scrappy Exp $ * * NOTES * This file contains only the public interface routines. @@ -440,9 +440,7 @@ hashendscan(IndexScanDesc scan) _hash_dropscan(scan); /* be tidy */ -#ifdef PERFECT_MMGR pfree (scan->opaque); -#endif /* PERFECT_MMGR */ } /* diff --git a/src/backend/access/nbtree/nbtree.c b/src/backend/access/nbtree/nbtree.c index ff3c799d53d..d157dc75ae3 100644 --- a/src/backend/access/nbtree/nbtree.c +++ b/src/backend/access/nbtree/nbtree.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.5 1996/10/23 07:39:06 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.6 1996/10/24 06:30:40 scrappy Exp $ * * NOTES * This file contains only the public interface routines. @@ -503,11 +503,9 @@ btendscan(IndexScanDesc scan) _bt_dropscan(scan); /* be tidy */ -#ifdef PERFECT_MMGR if ( so->keyData != (ScanKey) NULL ) pfree (so->keyData); pfree (scan->opaque); -#endif /* PERFECT_MMGR */ } /* |