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

Appearance settings

Commit 21abadf

Browse filesBrowse files
committed
Fix broken in f26c959 tests.config.ConfigTest.test_corrupt_backup_content
1 parent da5eb96 commit 21abadf
Copy full SHA for 21abadf

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

‎src/catalog.c

Copy file name to clipboardExpand all lines: src/catalog.c
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,9 @@ get_backup_filelist(pgBackup *backup, bool strict)
11441144
{
11451145
elog(WARNING, "Invalid CRC of backup control file '%s': %u. Expected: %u",
11461146
backup_filelist_path, content_crc, backup->content_crc);
1147-
return NULL;
1147+
parray_free(files);
1148+
files = NULL;
1149+
11481150
}
11491151

11501152
/* redundant sanity? */

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.