summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-11-20 20:19:08 +0100
committerunknown <serg@serg.mylan>2004-11-20 20:19:08 +0100
commit5e53947da80be2ce8e398244643b5929dbb0bd93 (patch)
tree07ac5c3eb693ad5344a4741413ec0eb285ea7a14 /sql/item.cc
parent7b0069ee20c5f0a43149aa962ac1b26f19257b23 (diff)
downloadmariadb-git-5e53947da80be2ce8e398244643b5929dbb0bd93.tar.gz
post-merge fix
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc
index a16520a8a8d..944d377282d 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -1036,7 +1036,7 @@ void Item_param::set_time(TIME *tm, timestamp_type type, uint32 max_length_arg)
{
char buff[MAX_DATE_STRING_REP_LENGTH];
uint length= my_TIME_to_str(&value.time, buff);
- make_truncated_value_warning(current_thd, buff, length, type);
+ make_truncated_value_warning(current_thd, buff, length, type, 0);
set_zero_time(&value.time, MYSQL_TIMESTAMP_ERROR);
}