diff options
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 36589bf2b2e..1081f2919c8 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -1195,7 +1195,8 @@ public: my_decimal *val_decimal(my_decimal*); bool get_date(THD *thd, MYSQL_TIME *to, date_mode_t mode) { - return decimal_to_datetime_with_warn(thd, VDec(this).ptr(), to, mode, NULL); + return decimal_to_datetime_with_warn(thd, VDec(this).ptr(), to, mode, + NULL, NULL); } const Type_handler *type_handler() const { return &type_handler_newdecimal; } void fix_length_and_dec_generic() {} |