mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MENT-510 Failing test(s): perfschema.threads_insert_delayed.
The thread_id of the INSERT DELAYED thread should not be set to 0.
This commit is contained in:
@ -2076,13 +2076,14 @@ public:
|
||||
passed from connection thread to the handler thread.
|
||||
*/
|
||||
MDL_request grl_protection;
|
||||
my_thread_id orig_thread_id;
|
||||
void set_default_user()
|
||||
{
|
||||
thd.security_ctx->user=(char*) delayed_user;
|
||||
thd.security_ctx->host=(char*) my_localhost;
|
||||
thd.security_ctx->ip= NULL;
|
||||
thd.query_id= 0;
|
||||
thd.thread_id= 0;
|
||||
thd.thread_id= orig_thread_id;
|
||||
}
|
||||
|
||||
void set_user_from_row(const delayed_row *r)
|
||||
|
Reference in New Issue
Block a user