mirror of
https://github.com/MariaDB/server.git
synced 2025-08-15 22:37:22 +00:00
Merge 10.2 into 10.3
This commit is contained in:
@ -414,7 +414,7 @@ process::wait ()
|
||||
return err_;
|
||||
}
|
||||
|
||||
thd::thd (my_bool won) : init(), ptr(new THD(0))
|
||||
thd::thd (my_bool won, bool system_thread) : init(), ptr(new THD(0))
|
||||
{
|
||||
if (ptr)
|
||||
{
|
||||
@ -422,6 +422,8 @@ thd::thd (my_bool won) : init(), ptr(new THD(0))
|
||||
ptr->store_globals();
|
||||
ptr->variables.option_bits&= ~OPTION_BIN_LOG; // disable binlog
|
||||
ptr->variables.wsrep_on = won;
|
||||
if (system_thread)
|
||||
ptr->system_thread= SYSTEM_THREAD_GENERIC;
|
||||
ptr->security_ctx->master_access= ~(ulong)0;
|
||||
lex_start(ptr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user