1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fixed error handling bug

sql/sql_class.h:
  new function for clean out error message
This commit is contained in:
unknown
2002-11-04 00:56:25 +02:00
parent 4358ac0c9f
commit a4e64e252d
6 changed files with 16 additions and 13 deletions

View File

@ -1180,7 +1180,7 @@ bool delayed_insert::handle_inserts(void)
table->file->extra(HA_EXTRA_IGNORE_DUP_KEY);
using_ignore=1;
}
thd.net.last_errno = 0; // reset error for binlog
thd.clear_error(); // reset error for binlog
if (write_record(table,&info))
{
info.error_count++; // Ignore errors