mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
bumped up version to 3.5.2
removed staus flag
This commit is contained in:
parent
e7500f435f
commit
c36637a96e
2 changed files with 16 additions and 9 deletions
|
@ -15,8 +15,8 @@ SHARED_LIB_VERSION=14:0:0
|
|||
# ndb version
|
||||
NDB_VERSION_MAJOR=3
|
||||
NDB_VERSION_MINOR=5
|
||||
NDB_VERSION_BUILD=1
|
||||
NDB_VERSION_STATUS=beta
|
||||
NDB_VERSION_BUILD=2
|
||||
NDB_VERSION_STATUS=0
|
||||
|
||||
# Set all version vars based on $VERSION. How do we do this more elegant ?
|
||||
# Remember that regexps needs to quote [ and ] since this is run through m4
|
||||
|
|
|
@ -37,13 +37,19 @@ Uint32 makeVersion(Uint32 major, Uint32 minor, Uint32 build) {
|
|||
|
||||
char * getVersionString(Uint32 version, char * status) {
|
||||
char buff[100];
|
||||
snprintf(buff, sizeof(buff),
|
||||
"Version %d.%d.%d (%s)",
|
||||
getMajor(version),
|
||||
getMinor(version),
|
||||
getBuild(version),
|
||||
status);
|
||||
|
||||
if (status)
|
||||
snprintf(buff, sizeof(buff),
|
||||
"Version %d.%d.%d (%s)",
|
||||
getMajor(version),
|
||||
getMinor(version),
|
||||
getBuild(version),
|
||||
status);
|
||||
else
|
||||
snprintf(buff, sizeof(buff),
|
||||
"Version %d.%d.%d",
|
||||
getMajor(version),
|
||||
getMinor(version),
|
||||
getBuild(version));
|
||||
return strdup(buff);
|
||||
}
|
||||
|
||||
|
@ -63,6 +69,7 @@ struct NdbUpGradeCompatible {
|
|||
|
||||
#ifndef TEST_VERSION
|
||||
struct NdbUpGradeCompatible ndbCompatibleTable_full[] = {
|
||||
{ MAKE_VERSION(3,5,2), MAKE_VERSION(3,5,1), UG_Exact },
|
||||
{ 0, 0, UG_Null }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue