Skip to content

Commit e64e676

Browse files
committed
MDEV-17093: SOURCE_REVISION in log (postfix - not in help)
Don't display the source revision in the mysqld --help output.
1 parent b21832e commit e64e676

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sql/mysqld.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5249,8 +5249,9 @@ static int init_server_components()
52495249
 Print source revision hash, as one of the first lines, if not the
52505250
 first in error log, for troubleshooting and debugging purposes
52515251
*/
5252-
sql_print_information("Starting MariaDB %s source revision %s as process %lu",
5253-
server_version, SOURCE_REVISION, (ulong) getpid());
5252+
if (!opt_help)
5253+
sql_print_information("Starting MariaDB %s source revision %s as process %lu",
5254+
server_version, SOURCE_REVISION, (ulong) getpid());
52545255

52555256
#ifdef WITH_PERFSCHEMA_STORAGE_ENGINE
52565257
/*

0 commit comments

Comments
 (0)