From ba4ed3ee8478830fb94e99dcd5a5acfcc3e2c3ea Mon Sep 17 00:00:00 2001 From: Nirbhay Choubey Date: Wed, 3 Aug 2016 13:36:12 -0400 Subject: MDEV-10492: Assertion failure on shutdown when wsrep_sst_auth set in config The memory alloc-ed initially for wsrep_sst_auth to store the value specified in config was lost as the global variable was reset while in process of masking it and thus, could never be reclaimed on shutdown. --- sql/wsrep_sst.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/wsrep_sst.h') diff --git a/sql/wsrep_sst.h b/sql/wsrep_sst.h index 50a16100128..460046bc4ad 100644 --- a/sql/wsrep_sst.h +++ b/sql/wsrep_sst.h @@ -64,6 +64,7 @@ extern void wsrep_sst_grab(); extern bool wsrep_sst_wait(); /*! Signals wsrep that initialization is complete, writesets can be applied */ extern bool wsrep_sst_continue(); +extern void wsrep_sst_auth_init(); extern void wsrep_sst_auth_free(); extern void wsrep_SE_init_grab(); /*! grab init critical section */ -- cgit v1.2.1