1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed error handling bug

This commit is contained in:
bell@sanja.is.com.ua
2002-11-04 00:56:25 +02:00
parent e65fd5d574
commit c94b39134f
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