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

Commitc3c301c

Browse files
committed
Initialize stop_socket of StreamCtl struct
1 parente2ab82f commitc3c301c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/backup.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2022,13 +2022,16 @@ StreamLog(void *arg)
20222022
{
20232023
StreamCtlctl;
20242024

2025+
MemSet(&ctl,0,sizeof(ctl));
2026+
20252027
ctl.startpos=startpos;
20262028
ctl.timeline=starttli;
20272029
ctl.sysidentifier=NULL;
20282030

20292031
#ifPG_VERSION_NUM >=100000
20302032
ctl.walmethod=CreateWalDirectoryMethod(basedir,0, true);
20312033
ctl.replication_slot=replication_slot;
2034+
ctl.stop_socket=PGINVALID_SOCKET;
20322035
#else
20332036
ctl.basedir=basedir;
20342037
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp