summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authormonty@mishka.local <>2004-10-05 01:05:15 +0300
committermonty@mishka.local <>2004-10-05 01:05:15 +0300
commit0fa62b691b943b5fd0f6bba007e7b88f7681de19 (patch)
treee1d9e264eefcfdcc716c358b1b4bb46e5cc53af4 /sql/sql_update.cc
parentbe4ca46fbe308faa155fade0875fe0edaa408ddd (diff)
downloadmariadb-git-0fa62b691b943b5fd0f6bba007e7b88f7681de19.tar.gz
Fixed bug in strict mode (A state was not properly cleared on successful insert/update's)
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index c3741c4c94c..d112c32cb11 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -457,6 +457,7 @@ int mysql_update(THD *thd,
DBUG_PRINT("info",("%d records updated",updated));
}
thd->count_cuted_fields= CHECK_FIELD_IGNORE; /* calc cuted fields */
+ thd->abort_on_warning= 0;
free_io_cache(table);
DBUG_RETURN(0);