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 <[email protected]>:
> 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'?
>

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to