Skip to content

Commit 8fff977

Browse files
committed
Declare two variables in snapbuild.c as static.
Neither is accessed externally, I just seem to have missed the static when writing the code.
1 parent 0525876 commit 8fff977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/replication/logical/snapbuild.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ struct SnapBuild
243243
* Starting a transaction -- which we need to do while exporting a snapshot --
244244
* removes knowledge about the previously used resowner, so we save it here.
245245
*/
246-
ResourceOwner SavedResourceOwnerDuringExport = NULL;
247-
bool ExportInProgress = false;
246+
static ResourceOwner SavedResourceOwnerDuringExport = NULL;
247+
static bool ExportInProgress = false;
248248

249249
/* transaction state manipulation functions */
250250
static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid);

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