Merge pull request #250 from sensssz/10.1-vats

A few fixes for VATS in 10.1
This commit is contained in:
Jan Lindström 2016-10-26 08:34:04 +03:00 committed by GitHub
commit ea0ae42d83
12 changed files with 707 additions and 266 deletions

View file

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