diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index f87bb25e50e1..2633159df05c 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -3856,7 +3856,8 @@ trx_is_strict( /*==========*/ trx_t* trx) /*!< in: transaction */ { - return(trx && trx->mysql_thd && THDVAR(trx->mysql_thd, strict_mode)); + return(trx && trx->mysql_thd && THDVAR(trx->mysql_thd, strict_mode) && + (!thd_slave_thread(trx->mysql_thd))); } /**************************************************************//**