Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh
This commit is contained in:
@ -667,7 +667,7 @@ DCB *zombies = NULL;
|
||||
#endif
|
||||
} /*< for */
|
||||
no_op = FALSE;
|
||||
}
|
||||
} /*< if (nfds > 0) */
|
||||
process_zombies:
|
||||
if (thread_data)
|
||||
{
|
||||
@ -690,6 +690,8 @@ process_zombies:
|
||||
thread_data[thread_id].state = THREAD_STOPPED;
|
||||
}
|
||||
bitmask_clear(&poll_mask, thread_id);
|
||||
/** Release mysql thread context */
|
||||
mysql_thread_end();
|
||||
return;
|
||||
}
|
||||
if (thread_data)
|
||||
@ -697,8 +699,6 @@ process_zombies:
|
||||
thread_data[thread_id].state = THREAD_IDLE;
|
||||
}
|
||||
} /*< while(1) */
|
||||
/** Release mysql thread context */
|
||||
mysql_thread_end();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user