A few fixes for VATS in 10.1

This commit is contained in:
sensssz 2016-10-25 18:57:03 -04:00
commit 74961760a4
12 changed files with 707 additions and 266 deletions

View file

@ -1826,7 +1826,7 @@ thd_is_replication_slave_thread(
/*============================*/
THD* thd) /*!< in: thread handle */
{
return((ibool) thd_slave_thread(thd));
return thd && ((ibool) thd_slave_thread(thd));
}
/******************************************************************//**