mirror of
https://github.com/postgres/postgres.git
synced 2025-05-08 07:21:33 +03:00
Properly initialize local varaible in
btree_xlog_delete_get_latestRemovedXid(). This variable was only tested in assert builds.
This commit is contained in:
parent
a358423d8f
commit
e919a844eb
@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtxlog.c,v 1.64 2010/03/28 09:27:01 sriggs Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/access/nbtree/nbtxlog.c,v 1.65 2010/03/30 13:46:09 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -578,7 +578,7 @@ btree_xlog_delete_get_latestRemovedXid(XLogRecord *record)
|
||||
TransactionId latestRemovedXid = InvalidTransactionId;
|
||||
TransactionId htupxid = InvalidTransactionId;
|
||||
int i;
|
||||
int num_unused, num_redirect, num_dead;
|
||||
int num_unused = 0, num_redirect, num_dead;
|
||||
|
||||
xl_btree_delete *xlrec = (xl_btree_delete *) XLogRecGetData(record);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user