diff -Naur mysql-dfsg-5.1-5.1.41.orig/sql/sql_delete.cc mysql-dfsg-5.1-5.1.41/sql/sql_delete.cc --- mysql-dfsg-5.1-5.1.41.orig/sql/sql_delete.cc 2009-11-04 19:31:04.000000000 +0100 +++ mysql-dfsg-5.1-5.1.41/sql/sql_delete.cc 2010-02-01 22:05:45.000000000 +0100 @@ -299,7 +299,7 @@ // thd->is_error() is tested to disallow delete row on error if (!(select && select->skip_record())&& ! thd->is_error() ) { - + bool ignore= thd->lex->current_select->no_error; if (triggers_applicable && table->triggers->process_triggers(thd, TRG_EVENT_DELETE, TRG_ACTION_BEFORE, FALSE)) @@ -324,7 +324,7 @@ break; } } - else + else if (!ignore) { table->file->print_error(error,MYF(0)); /*