Bug #27964: pthread_key_create doesn't set errno, so don't report \
errno Vasil Dimov (at Oracle) noted that pthread_key_create() does not set errno, so if it fails then we return the wrong error code. Instead, capture the return value, which is the real error value, and instead report that. mysys/my_thr_init.c: pthread functions don't set the global errno, which should be obvious.
Showing
Please register or sign in to comment