mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
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:
parent
6c13a5724c
commit
242a3755b3
5 changed files with 6 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue