From f9f7b79a2be60c2a3aace3ca778d886d834f14e4 Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 5 Feb 2020 11:10:54 -0600 Subject: [PATCH] MCOL-3749 Assertion on error Correct error code return stops assertion --- dbcon/mysql/ha_mcs_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dbcon/mysql/ha_mcs_impl.cpp b/dbcon/mysql/ha_mcs_impl.cpp index ce072d2fa..7ab1cbe61 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 {