summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <igor@olga.mysql.com>2007-05-27 20:14:50 -0700
committerunknown <igor@olga.mysql.com>2007-05-27 20:14:50 -0700
commitd7a90fa1724a047d8b9cf81e974c39a9ae64ff84 (patch)
treea2366f6a2ccd3f1b5f278ea625a7a9f3f3ceb9a2
parent11dd353e12de970d93a0304ea3e6e43df1126907 (diff)
downloadmariadb-git-d7a90fa1724a047d8b9cf81e974c39a9ae64ff84.tar.gz
Post-merge fix.
-rw-r--r--sql/sql_table.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index a8ed2a53601..c99c82a4947 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -4054,7 +4054,8 @@ err:
}
bool save_abort_on_warning= thd->abort_on_warning;
thd->abort_on_warning= TRUE;
- make_truncated_value_warning(thd, f_val, strlength(f_val), t_type,
+ make_truncated_value_warning(thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
+ f_val, strlength(f_val), t_type,
new_datetime_field->field_name);
thd->abort_on_warning= save_abort_on_warning;
}