Initialize interr variable in galera monitor

If isn't possible create a MySQL connection in the galera monitor
the code jump to __exit_monitor_galera_thread label, bypassing the
interr initialization.
pull/2941/head
Juan Manuel Fernández García-Minguillán 6 years ago committed by René Cannaò
parent 1f174f629c
commit 847b6975ec

@ -1679,6 +1679,7 @@ void * monitor_galera_thread(void *arg) {
#endif // DEBUG
mmsd->t1=start_time;
mmsd->interr=0; // reset the value
bool crc=false;
if (mmsd->mysql==NULL) { // we don't have a connection, let's create it

Loading…
Cancel
Save