Don't set thd->is_fatal_error in sql_update for duplicate key errors.
Attach a file by drag & drop or click to upload