mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Declare two variables in snapbuild.c as static.
Neither is accessed externally, I just seem to have missed the static when writing the code.
This commit is contained in:
parent
05258761bf
commit
8fff977e29
@ -243,8 +243,8 @@ struct SnapBuild
|
||||
* Starting a transaction -- which we need to do while exporting a snapshot --
|
||||
* removes knowledge about the previously used resowner, so we save it here.
|
||||
*/
|
||||
ResourceOwner SavedResourceOwnerDuringExport = NULL;
|
||||
bool ExportInProgress = false;
|
||||
static ResourceOwner SavedResourceOwnerDuringExport = NULL;
|
||||
static bool ExportInProgress = false;
|
||||
|
||||
/* transaction state manipulation functions */
|
||||
static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid);
|
||||
|
Loading…
Reference in New Issue
Block a user