Skip to content

Commit

Permalink
A followup to MDEV-13470: remove the code that is now useless
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrunia committed Aug 9, 2017
1 parent d0c66c8 commit 6b14fd6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sql/handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 6b14fd6

Please sign in to comment.