summaryrefslogtreecommitdiff
path: root/sql/procedure.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/procedure.h')
-rw-r--r--sql/procedure.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/procedure.h b/sql/procedure.h
index 2169091c0a6..050cc3817c0 100644
--- a/sql/procedure.h
+++ b/sql/procedure.h
@@ -71,7 +71,7 @@ public:
}
bool get_date(THD *thd, MYSQL_TIME *ltime, date_mode_t fuzzydate)
{
- return type_handler()->Item_get_date(thd, this, ltime, fuzzydate);
+ return type_handler()->Item_get_date_with_warn(thd, this, ltime, fuzzydate);
}
Item* get_copy(THD *thd) { return 0; }
};