1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

Remove added NullProc define, and use fmgr.h value from fmgr.h.

This commit is contained in:
Bruce Momjian
1998-05-13 03:44:24 +00:00
parent 7e5f53e730
commit 68f9c9819b
2 changed files with 4 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.34 1998/04/10 22:07:41 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.35 1998/05/13 03:44:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -317,7 +317,7 @@ _bt_skeycmp(Relation rel,
/* see comments about NULLs handling in btbuild */
if (entry->sk_flags & SK_ISNULL) /* key is NULL */
{
Assert(entry->sk_procedure == NullValueRegProcedure);
Assert(entry->sk_procedure == F_NULLVALUE);
keyNull = true;
if (isNull)
compare = (strat == BTEqualStrategyNumber) ? true : false;
@@ -665,7 +665,7 @@ _bt_compare(Relation rel,
/* see comments about NULLs handling in btbuild */
if (entry->sk_flags & SK_ISNULL) /* key is NULL */
{
Assert(entry->sk_procedure == NullValueRegProcedure);
Assert(entry->sk_procedure == F_NULLVALUE);
if (null)
tmpres = (long) 0; /* NULL "=" NULL */
else