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

Commitb6b2402

Browse files
author
Artur Zakirov
committed
Make compiler quiet
1 parent9af7ec0 commitb6b2402

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

‎parsexlog.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ validate_wal(pgBackup *backup,
125125

126126
while (true)
127127
{
128-
record=XLogReadRecord(xlogreader,startpoint,&errormsg);
129128
booltimestamp_record;
129+
130+
record=XLogReadRecord(xlogreader,startpoint,&errormsg);
130131
if (record==NULL)
131132
{
132133
XLogRecPtrerrptr;

‎validate.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,15 @@ int do_validate(time_t backup_id,
7777
inti;
7878
intbase_index;/* index of base (full) backup */
7979
intlast_restored_index;/* index of last restored database backup */
80-
intret;
81-
TimeLineIDcur_tli;
8280
TimeLineIDbackup_tli;
8381
TimeLineIDnewest_tli;
8482
parray*timelines;
8583
parray*backups;
8684
pgRecoveryTarget*rt=NULL;
8785
pgBackup*base_backup=NULL;
88-
boolanother_pg_probackup= false;
8986
boolbackup_id_found= false;
9087

91-
ret=catalog_lock();
92-
if (ret==1)
93-
another_pg_probackup= true;
88+
catalog_lock();
9489

9590
rt=checkIfCreateRecoveryConf(target_time,target_xid,target_inclusive);
9691
if (rt==NULL)
@@ -101,7 +96,6 @@ int do_validate(time_t backup_id,
10196
if (!backups)
10297
elog(ERROR,"cannot process any more.");
10398

104-
cur_tli=get_current_timeline(true);
10599
newest_tli=findNewestTimeLine(1);
106100
backup_tli=get_fullbackup_timeline(backups,rt);
107101

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp