diff options
author | unknown <hf@deer.(none)> | 2003-12-18 18:12:00 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-12-18 18:12:00 +0400 |
commit | 195b8ac5dc7c721b78b99507af80049583a55b10 (patch) | |
tree | 19829d755df844c74c405856a21d5f4ce87535e3 /libmysql | |
parent | 886307f28275c29e2ca1e833081d2c4a01ef10b7 (diff) | |
download | mariadb-git-195b8ac5dc7c721b78b99507af80049583a55b10.tar.gz |
Fix for #2126
additional changes (after discussion with Monty)
libmysql/libmysql.c:
it's good to check my_thread_init() result as well
sql/client_settings.h:
0 is more relevant here
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 9f2ae280cfc..a6718d6f320 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -136,7 +136,7 @@ int STDCALL mysql_server_init(int argc, char **argv, char **groups) } #ifdef THREAD else - my_thread_init(); /* Init if new thread */ + result= (int)my_thread_init(); /* Init if new thread */ #endif return result; } |