aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/valid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access/valid.h')
-rw-r--r--src/include/access/valid.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/include/access/valid.h b/src/include/access/valid.h
index a37258c62a6..d7707fa495b 100644
--- a/src/include/access/valid.h
+++ b/src/include/access/valid.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: valid.h,v 1.8 1997/09/18 14:20:45 momjian Exp $
+ * $Id: valid.h,v 1.9 1997/11/02 15:26:46 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -122,8 +122,6 @@ do \
/* We use underscores to protect the variable passed in as parameters */ \
HeapTuple _tuple; \
bool _res; \
- TransactionId _old_tmin, \
- _old_tmax; \
\
if (!ItemIdIsUsed(itemId)) \
(result) = (HeapTuple) NULL; \
@@ -144,11 +142,10 @@ do \
(result) = _tuple; \
else \
{ \
- _old_tmin = _tuple->t_tmin; \
- _old_tmax = _tuple->t_tmax; \
+ uint16 _infomask = _tuple->t_infomask; \
+ \
_res = HeapTupleSatisfiesTimeQual(_tuple, (qual)); \
- if (_tuple->t_tmin != _old_tmin || \
- _tuple->t_tmax != _old_tmax) \
+ if (_tuple->t_infomask != _infomask) \
SetBufferCommitInfoNeedsSave(buffer); \
if (_res) \
(result) = _tuple; \