diff --git a/dbcon/mysql/ha_mcs_impl.cpp b/dbcon/mysql/ha_mcs_impl.cpp index 2031618a7..a8cdab101 100644 --- a/dbcon/mysql/ha_mcs_impl.cpp +++ b/dbcon/mysql/ha_mcs_impl.cpp @@ -2217,6 +2217,7 @@ uint32_t doUpdateDelete(THD* thd, gp_walk_info& gwi) ci->rc = b; // Turn this on as MariaDB doesn't do it until the next phase thd->abort_on_warning = thd->is_strict_mode(); + rc = ER_INTERNAL_ERROR; } else {