1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-29 22:28:02 +02:00

Fixed check command to throw an error when database version/id does not match that of the archive.

Fixed by Cynthia Shang.
This commit is contained in:
Cynthia Shang
2016-07-29 14:02:11 -04:00
committed by David Steele
parent f95d4af64a
commit 6e9d5f5bd3
18 changed files with 439 additions and 88 deletions

View File

@@ -209,7 +209,7 @@ sub iniLoad
####################################################################################################################################
# save
#
# Save the manifest.
# Save the file.
####################################################################################################################################
sub save
{
@@ -358,7 +358,7 @@ sub hash
# Remove the old checksum
$self->remove(INI_SECTION_BACKREST, INI_KEY_CHECKSUM);
# Caculate the checksum
# Calculate the checksum
my $oChecksumContent = dclone($self->{oContent});
foreach my $strSection (keys(%$oChecksumContent))