mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-new-maint
This commit is contained in:
@ -82,9 +82,9 @@ my_bool my_thread_global_init(void)
|
||||
int pth_ret;
|
||||
thd_lib_detected= get_thread_lib();
|
||||
|
||||
if (pth_ret= pthread_key_create(&THR_KEY_mysys, NULL))
|
||||
if ((pth_ret= pthread_key_create(&THR_KEY_mysys, NULL)) != 0)
|
||||
{
|
||||
fprintf(stderr,"Can't initialize threads: pthread error %d\n", pth_ret);
|
||||
fprintf(stderr,"Can't initialize threads: error %d\n", pth_ret);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user