1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'

Ensured that all projects compile
Removed compiler warnings
Better setting of server_version variable.
Fix that make_win_src_distribution creates the privilege tables.
This commit is contained in:
monty@mysql.com
2004-05-19 16:38:12 +03:00
parent fdc0f0e781
commit 86a966256b
64 changed files with 1570 additions and 338 deletions

View File

@ -385,11 +385,6 @@ int STDCALL mysql_server_init(int argc, char **argv, char **groups)
if (gethostname(glob_hostname,sizeof(glob_hostname)-4) < 0)
strmov(glob_hostname,"mysql");
#ifndef DBUG_OFF
strxmov(strend(server_version),MYSQL_SERVER_SUFFIX,"-debug",NullS);
#else
strmov(strend(server_version),MYSQL_SERVER_SUFFIX);
#endif
load_defaults("my", (const char **) groups, argcp, argvp);
defaults_argv=*argvp;
@ -406,9 +401,8 @@ int STDCALL mysql_server_init(int argc, char **argv, char **groups)
set_options();
get_options(*argcp, *argvp);
set_server_version();
if (opt_log || opt_update_log || opt_slow_log || opt_bin_log)
strcat(server_version,"-log");
DBUG_PRINT("info",("%s Ver %s for %s on %s\n",my_progname,
server_version, SYSTEM_TYPE,MACHINE_TYPE));