Commit 6b14fd6d authored by Sergei Petrunia's avatar Sergei Petrunia

A followup to MDEV-13470: remove the code that is now useless

parent d0c66c87
...@@ -3499,9 +3499,6 @@ void handler::print_error(int error, myf errflag) ...@@ -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); 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); get_error_message(error, &str);
full_err_msg.append(str); full_err_msg.append(str);
my_printf_error(ER_LOCK_DEADLOCK, "%s", errflag, full_err_msg.c_ptr_safe()); my_printf_error(ER_LOCK_DEADLOCK, "%s", errflag, full_err_msg.c_ptr_safe());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment