1
0
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:
Oleksandr Byelkin
2015-09-20 20:22:22 +02:00
parent d39a2f7d11
commit f727fb45d4
3 changed files with 3 additions and 3 deletions

View File

@ -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