mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fix to make os_thread_id it compiled on windows.
This commit is contained in:
@ -2073,7 +2073,7 @@ bool THD::store_globals()
|
||||
*/
|
||||
mysys_var->id= thread_id;
|
||||
#ifdef __NR_gettid
|
||||
os_thread_id= syscall(__NR_gettid);
|
||||
os_thread_id= (uint32)syscall(__NR_gettid);
|
||||
#else
|
||||
os_thread_id= 0;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user