1 Feb
2010
1 Feb
'10
10:57 p.m.
sorry! the my_error should be checked immediately, so here is no problem. what about other var in THR_KEY_mysys? 2010/2/2 xiaobing jiang <s7v7nislands@gmail.com>:
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'?