1 Feb
2010
1 Feb
'10
10:48 p.m.
hi, Sergei:
You cannot easily remove my_thread_init/my_thread_end, besides debugging THR_KEY_mysys is also needed for my_errno, which is uses all over mysys.
thanks, but have another question: what about in one thread, I call mysql_init() twice to create 2 connection. they will share the THR_KEY_mysys thread local variable, right? the two connections will share my_error, is this will cause some 'bug'?