Always log commit ID

There's no good reason to not include the commit ID in release build
startup messages.
This commit is contained in:
Markus Mäkelä 2018-07-04 21:04:22 +03:00
parent bbf3909296
commit 7954de0da6
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -1990,12 +1990,9 @@ int main(int argc, char **argv)
goto return_main;
}
MXS_NOTICE("MariaDB MaxScale %s started", MAXSCALE_VERSION);
MXS_NOTICE("MariaDB MaxScale %s started (Commit: %s)", MAXSCALE_VERSION, MAXSCALE_COMMIT);
MXS_NOTICE("MaxScale is running in process %i", getpid());
#ifdef SS_DEBUG
MXS_NOTICE("Commit: %s", MAXSCALE_COMMIT);
#endif
cleanup_old_process_datadirs();
if (!cnf->config_check)
{