From 6b14fd6d6d75e09b966ddb0750ccfbb94a74a909 Mon Sep 17 00:00:00 2001 From: Sergei Petrunia Date: Wed, 9 Aug 2017 10:42:38 +0300 Subject: [PATCH] A followup to MDEV-13470: remove the code that is now useless --- sql/handler.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/sql/handler.cc b/sql/handler.cc index 61cc527d8a5..d5d57f3e9a8 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -3499,9 +3499,6 @@ void handler::print_error(int error, myf errflag) { String str, full_err_msg(ER_DEFAULT(ER_LOCK_DEADLOCK), system_charset_info); - /* cannot continue. the statement was already aborted in the engine */ - SET_FATAL_ERROR; - get_error_message(error, &str); full_err_msg.append(str); my_printf_error(ER_LOCK_DEADLOCK, "%s", errflag, full_err_msg.c_ptr_safe());