MDEV-17093: SOURCE_REVISION in log (postfix - not in help)

Don't display the source revision in the mysqld --help output.
This commit is contained in:
Daniel Black 2023-01-08 09:26:50 +11:00
parent b21832ef15
commit e64e6768e0

View File

@ -5249,8 +5249,9 @@ static int init_server_components()
Print source revision hash, as one of the first lines, if not the Print source revision hash, as one of the first lines, if not the
first in error log, for troubleshooting and debugging purposes first in error log, for troubleshooting and debugging purposes
*/ */
sql_print_information("Starting MariaDB %s source revision %s as process %lu", if (!opt_help)
server_version, SOURCE_REVISION, (ulong) getpid()); sql_print_information("Starting MariaDB %s source revision %s as process %lu",
server_version, SOURCE_REVISION, (ulong) getpid());
#ifdef WITH_PERFSCHEMA_STORAGE_ENGINE #ifdef WITH_PERFSCHEMA_STORAGE_ENGINE
/* /*