From 4ff0468371fab33a362b1c98dd96c8e661e4a062 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Mon, 3 Nov 2008 19:26:07 +0000 Subject: [PATCH] Fix silly typo in previous commit. --- src/backend/access/transam/clog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/access/transam/clog.c b/src/backend/access/transam/clog.c index 3d62417387..3576fe28a7 100644 --- a/src/backend/access/transam/clog.c +++ b/src/backend/access/transam/clog.c @@ -26,7 +26,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/access/transam/clog.c,v 1.49 2008/11/03 19:24:03 alvherre Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/clog.c,v 1.50 2008/11/03 19:26:07 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -324,7 +324,7 @@ TransactionIdSetStatusBit(TransactionId xid, XidStatus status, XLogRecPtr lsn, i char curval; byteptr = ClogCtl->shared->page_buffer[slotno] + byteno; - curval = (*byteptr >> shift) & CLOG_XACT_BITMASK; + curval = (*byteptr >> bshift) & CLOG_XACT_BITMASK; /* * When replaying transactions during recovery we still need to perform -- 2.40.0