diff options
Diffstat (limited to 'sql/wsrep_sst.cc')
-rw-r--r-- | sql/wsrep_sst.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_sst.cc b/sql/wsrep_sst.cc index 8ffcb32e10a..93b7bc74489 100644 --- a/sql/wsrep_sst.cc +++ b/sql/wsrep_sst.cc @@ -364,7 +364,7 @@ void wsrep_sst_received (THD* thd, wsrep_store_threadvars(thd); } else { - my_pthread_setspecific_ptr(THR_THD, NULL); + set_current_thd(nullptr); } /* During sst WSREP(thd) is not yet set for joiner. */ |