aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/clog.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-11-03 19:26:07 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-11-03 19:26:07 +0000
commit4ff0468371fab33a362b1c98dd96c8e661e4a062 (patch)
treee1f7a6d43083eaaf7df42815146fc4fae23eed69 /src/backend/access/transam/clog.c
parentd698bf83d16416cf7222c9e825004bdd6b12ad39 (diff)
downloadpostgresql-4ff0468371fab33a362b1c98dd96c8e661e4a062.tar.gz
postgresql-4ff0468371fab33a362b1c98dd96c8e661e4a062.zip
Fix silly typo in previous commit.
Diffstat (limited to 'src/backend/access/transam/clog.c')
-rw-r--r--src/backend/access/transam/clog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/clog.c b/src/backend/access/transam/clog.c
index 3d62417387b..3576fe28a77 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