Skip to content

Commit 4ff0468

Browse files
committed
Fix silly typo in previous commit.
1 parent d698bf8 commit 4ff0468

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

src/backend/access/transam/clog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
2727
* Portions Copyright (c) 1994, Regents of the University of California
2828
*
29-
* $PostgreSQL: pgsql/src/backend/access/transam/clog.c,v 1.49 2008/11/03 19:24:03 alvherre Exp $
29+
* $PostgreSQL: pgsql/src/backend/access/transam/clog.c,v 1.50 2008/11/03 19:26:07 alvherre Exp $
3030
*
3131
*-------------------------------------------------------------------------
3232
*/
@@ -324,7 +324,7 @@ TransactionIdSetStatusBit(TransactionId xid, XidStatus status, XLogRecPtr lsn, i
324324
char curval;
325325

326326
byteptr = ClogCtl->shared->page_buffer[slotno] + byteno;
327-
curval = (*byteptr >> shift) & CLOG_XACT_BITMASK;
327+
curval = (*byteptr >> bshift) & CLOG_XACT_BITMASK;
328328

329329
/*
330330
* When replaying transactions during recovery we still need to perform

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy