Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8fff977

Browse files
committed
Declare two variables in snapbuild.c as static.
Neither is accessed externally, I just seem to have missed the staticwhen writing the code.
1 parent0525876 commit8fff977

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-
ResourceOwnerSavedResourceOwnerDuringExport=NULL;
247-
boolExportInProgress= false;
246+
staticResourceOwnerSavedResourceOwnerDuringExport=NULL;
247+
staticboolExportInProgress= false;
248248

249249
/* transaction state manipulation functions */
250250
staticvoidSnapBuildEndTxn(SnapBuild*builder,XLogRecPtrlsn,TransactionIdxid);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp