From fc4f0e4f97473923af263fc9a56561789c09a4dd Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 29 Jan 2020 16:26:41 -0600 Subject: [PATCH] MCOL-3749 Return error when update truncates --- 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 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 {