|
26 | 26 | * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
|
27 | 27 | * Portions Copyright (c) 1994, Regents of the University of California
|
28 | 28 | *
|
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 $ |
30 | 30 | *
|
31 | 31 | *-------------------------------------------------------------------------
|
32 | 32 | */
|
@@ -324,7 +324,7 @@ TransactionIdSetStatusBit(TransactionId xid, XidStatus status, XLogRecPtr lsn, i
|
324 | 324 | charcurval;
|
325 | 325 |
|
326 | 326 | byteptr=ClogCtl->shared->page_buffer[slotno]+byteno;
|
327 |
| -curval= (*byteptr >>shift)&CLOG_XACT_BITMASK; |
| 327 | +curval= (*byteptr >>bshift)&CLOG_XACT_BITMASK; |
328 | 328 |
|
329 | 329 | /*
|
330 | 330 | * When replaying transactions during recovery we still need to perform
|
|