mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-32537 due to Linux, restrict thread name to 15 characters, also in PS.
Rename some threads to workaround this restrictions, e.g "rpl_parallel_thread"->"rpl_parallel", "slave_background" -> "slave_bg" etc.
This commit is contained in:
@ -1226,7 +1226,7 @@ handle_rpl_parallel_thread(void *arg)
|
||||
struct rpl_parallel_thread *rpt= (struct rpl_parallel_thread *)arg;
|
||||
|
||||
my_thread_init();
|
||||
my_thread_set_name("rpl_parallel_thread");
|
||||
my_thread_set_name("rpl_parallel");
|
||||
thd = new THD(next_thread_id());
|
||||
thd->thread_stack = (char*)&thd;
|
||||
server_threads.insert(thd);
|
||||
|
Reference in New Issue
Block a user