Portability fixes for windows

include/config-win.h:
  Portability fix for windows
include/my_global.h:
  General portability fix
sql/mysqld.cc:
  Portability fix for windows
sql/set_var.cc:
  Portability fix for windows
sql/sql_yacc.yy:
  Portability fix for windows
This commit is contained in:
unknown 2002-08-28 17:00:58 +03:00
commit 242a3755b3
5 changed files with 6 additions and 4 deletions

View file

@ -1208,7 +1208,8 @@ void set_var_free()
sys_var *find_sys_var(const char *str, uint length)
{
sys_var *var= (sys_var*) hash_search(&system_variable_hash, str,
sys_var *var= (sys_var*) hash_search(&system_variable_hash,
(byte*) str,
length ? length :
strlen(str));
if (!var)