diff --git a/doc/xml/release.xml b/doc/xml/release.xml index dd1336d2e..887080fd1 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -133,6 +133,20 @@ + + + + + + + + +

Fixed const assignment giving compiler warning in C library.

+
+
+
+
+

IMPORTANT NOTE: In prior releases it was possible to specify options on the command-line that were invalid for the current command without getting an error. An error will now be generated for invalid options so it is important to carefully check command-line options in your environment to prevent disruption.

diff --git a/lib/pgBackRest/Version.pm b/lib/pgBackRest/Version.pm index 213f36d23..74a1f01dc 100644 --- a/lib/pgBackRest/Version.pm +++ b/lib/pgBackRest/Version.pm @@ -35,7 +35,7 @@ use constant BACKREST_BIN => abs_path( # Defines the current version of the BackRest executable. The version number is used to track features but does not affect what # repositories or manifests can be read - that's the job of the format number. #----------------------------------------------------------------------------------------------------------------------------------- -use constant BACKREST_VERSION => '1.12'; +use constant BACKREST_VERSION => '1.13dev'; push @EXPORT, qw(BACKREST_VERSION); # Format Format Number diff --git a/libc/lib/pgBackRest/LibC.pm b/libc/lib/pgBackRest/LibC.pm index 707cf7fba..e2d0711a2 100644 --- a/libc/lib/pgBackRest/LibC.pm +++ b/libc/lib/pgBackRest/LibC.pm @@ -11,7 +11,7 @@ use AutoLoader; our @ISA = qw(Exporter); # Library version (add .999 during development) -our $VERSION = '1.12'; +our $VERSION = '1.13.999'; sub libCVersion {return $VERSION}; diff --git a/libc/pageChecksum.c b/libc/pageChecksum.c index ec544f50b..28c149066 100644 --- a/libc/pageChecksum.c +++ b/libc/pageChecksum.c @@ -218,7 +218,7 @@ pageChecksumBuffer(const char *szPageBuffer, uint32 uiBufferSize, uint32 uiBlock // Loop through all pages in the buffer for (uint32 uiIndex = 0; uiIndex < uiBufferSize / uiPageSize; uiIndex++) { - char *szPage = szPageBuffer + (uiIndex * uiPageSize); + const char *szPage = szPageBuffer + (uiIndex * uiPageSize); // Return false if the checksums do not match if (((PageHeader)szPage)->pd_checksum != pageChecksum(szPage, uiBlockNoStart + uiIndex, uiPageSize))