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

Yet more fixes covering thread_id type change

Also fixed race condition in main.connect2 test: we need to wait for
disconnected connections to actually decrease Threads_connected.
This commit is contained in:
Sergey Vojtovich
2016-02-28 14:54:56 +04:00
parent ee5909111d
commit 0dbfc0fde7
3 changed files with 3 additions and 14 deletions

View File

@ -95,7 +95,7 @@ static void connection_class_handler(THD *thd, uint event_subclass, va_list ap)
mysql_event_connection event;
event.event_subclass= event_subclass;
event.status= va_arg(ap, int);
event.thread_id= va_arg(ap, unsigned long);
event.thread_id= (unsigned long) va_arg(ap, long long);
event.user= va_arg(ap, const char *);
event.user_length= va_arg(ap, unsigned int);
event.priv_user= va_arg(ap, const char *);