Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc471d2b

Browse files
committed
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 badthing.If it does cause a bug, it will generate an error when hit, so I sayunless someone else knows, let's remove it and run the regression test.-Bruce
1 parent7f76072 commitc471d2b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

‎src/backend/access/hash/hash.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.6 1996/10/23 07:38:29 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hash.c,v 1.7 1996/10/24 06:30:23 scrappy Exp $
1111
*
1212
* NOTES
1313
* This file contains only the public interface routines.
@@ -440,9 +440,7 @@ hashendscan(IndexScanDesc scan)
440440
_hash_dropscan(scan);
441441

442442
/* be tidy */
443-
#ifdefPERFECT_MMGR
444443
pfree (scan->opaque);
445-
#endif/* PERFECT_MMGR */
446444
}
447445

448446
/*

‎src/backend/access/nbtree/nbtree.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.5 1996/10/23 07:39:06 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.6 1996/10/24 06:30:40 scrappy Exp $
1212
*
1313
* NOTES
1414
* This file contains only the public interface routines.
@@ -503,11 +503,9 @@ btendscan(IndexScanDesc scan)
503503
_bt_dropscan(scan);
504504

505505
/* be tidy */
506-
#ifdefPERFECT_MMGR
507506
if (so->keyData!= (ScanKey)NULL )
508507
pfree (so->keyData);
509508
pfree (scan->opaque);
510-
#endif/* PERFECT_MMGR */
511509
}
512510

513511
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp