1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-12 01:53:02 +03:00

merge with 4.0 to get security fixes and latest bug fixes

This commit is contained in:
monty@mashka.mysql.fi
2004-02-20 17:43:02 +02:00
112 changed files with 2328 additions and 49895 deletions

View File

@ -259,7 +259,8 @@ mysql_debug(const char *debug __attribute__((unused)))
#else
{
char buff[80];
strmov(strmov(buff,"libmysql: "),env);
buff[sizeof(buff)-1]= 0;
strxnmov(buff,sizeof(buff)-1,"libmysql: ", env, NullS);
MessageBox((HWND) 0,"Debugging variable MYSQL_DEBUG used",buff,MB_OK);
}
#endif
@ -695,7 +696,7 @@ char* getlogin(void);
#endif
#if defined(__NETWARE__)
/* default to "root" on NetWare */
/* Default to value of USER on NetWare, if unset use "UNKNOWN_USER" */
void read_user_name(char *name)
{
char *str=getenv("USER");