mysql_thread_id(&mysql), server_version_string(&mysql));
put_info((char*) glob_buffer.ptr(),INFO_INFO);
put_info(ORACLE_WELCOME_COPYRIGHT_NOTICE("2000"), INFO_INFO);
+ put_info("Support MariaDB developers by giving a star at "
+ "https://github.com/MariaDB/server",
+ INFO_INFO);
}
#ifdef HAVE_READLINE
/*
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.
+ If not, suggest database admin to help project by giving a star
+ on GitHub.
*/
if (!opt_help)
- sql_print_information("Starting MariaDB %s source revision %s "
- "server_uid %s as process %lu",
- server_version, SOURCE_REVISION, server_uid,
- (ulong) getpid());
+ if (SOURCE_REVISION) {
+ sql_print_information("Starting MariaDB %s source revision %s "
+ "server_uid %s as process %lu",
+ server_version, SOURCE_REVISION, server_uid,
+ (ulong) getpid());
+ } else {
+ sql_print_information("Starting MariaDB %s server_uid %s "
+ "as process %lu",
+ server_version, server_uid, (ulong) getpid());
+ sql_print_information("Support MariaDB developers by giving a star at "
+ "https://github.com/MariaDB/server");
+ }
#ifdef WITH_PERFSCHEMA_STORAGE_ENGINE
/*