mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
last try didnt work
This commit is contained in:
parent
9d2c186c51
commit
2f3212910f
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ SHARED_LIB_VERSION=14:0:0
|
|||
NDB_VERSION_MAJOR=3
|
||||
NDB_VERSION_MINOR=5
|
||||
NDB_VERSION_BUILD=2
|
||||
NDB_VERSION_STATUS=0
|
||||
NDB_VERSION_STATUS=""
|
||||
|
||||
# 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,7 +37,7 @@ Uint32 makeVersion(Uint32 major, Uint32 minor, Uint32 build) {
|
|||
|
||||
char * getVersionString(Uint32 version, char * status) {
|
||||
char buff[100];
|
||||
if (status)
|
||||
if (status && status[0] != 0)
|
||||
snprintf(buff, sizeof(buff),
|
||||
"Version %d.%d.%d (%s)",
|
||||
getMajor(version),
|
||||
|
|
Loading…
Reference in a new issue