Commit 44cd6f22 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

MDEV-7921: main.sp_sync fails in buildbot with valgrind

Part 2: detauch service thread.
parent c1fb91ef
...@@ -340,6 +340,7 @@ int ma_checkpoint_init(ulong interval) ...@@ -340,6 +340,7 @@ int ma_checkpoint_init(ulong interval)
{ {
/* thread lives, will have to be killed */ /* thread lives, will have to be killed */
checkpoint_control.status= THREAD_RUNNING; checkpoint_control.status= THREAD_RUNNING;
pthread_detach(th);
} }
} }
DBUG_RETURN(res); DBUG_RETURN(res);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment