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:
@ -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 *);
|
||||
|
Reference in New Issue
Block a user