1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

further reduce diffs to 5.5, monty review

This commit is contained in:
Vladislav Vaintroub
2012-01-24 19:18:22 +01:00
parent d50649ecf7
commit 398c935db3
12 changed files with 31 additions and 24 deletions

View File

@ -1701,11 +1701,7 @@ bool THD::store_globals()
real_id= pthread_self(); // For debugging
mysys_var->stack_ends_here= thread_stack + // for consistency, see libevent_thread_proc
STACK_DIRECTION * (long)my_thread_stack_size;
#ifdef _WIN32
if (net.vio)
net.vio->thread_id= real_id; /* Required to support IO cancelation on XP */
#endif
vio_set_thread_id(net.vio, real_id);
/*
We have to call thr_lock_info_init() again here as THD may have been
created in another thread