File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1837,7 +1837,7 @@ THD::~THD()
18371837 mysql_mutex_unlock (&LOCK_wsrep_thd);
18381838 mysql_mutex_destroy (&LOCK_wsrep_thd);
18391839 if (wsrep_rgi) delete wsrep_rgi;
1840- if (wsrep_status_vars) wsrep-> stats_free (wsrep, wsrep_status_vars );
1840+ wsrep_free_status ( this );
18411841#endif
18421842 /* Close connection */
18431843#ifndef EMBEDDED_LIBRARY
Original file line number Diff line number Diff line change @@ -567,10 +567,7 @@ static void export_wsrep_status_to_mysql(THD* thd)
567567{
568568 int wsrep_status_len, i;
569569
570- if (thd->wsrep_status_vars )
571- {
572- wsrep->stats_free (wsrep, thd->wsrep_status_vars );
573- }
570+ wsrep_free_status (thd);
574571
575572 thd->wsrep_status_vars = wsrep->stats_get (wsrep);
576573
You can’t perform that action at this time.
0 commit comments