From ad8e02ac452dc94d64b65cb9855b6dba97b651d4 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Fri, 28 Sep 2018 14:01:17 +0400 Subject: MDEV-17317 Add THD* parameter into Item::get_date() and stricter data type control to "fuzzydate" --- sql/item_vers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/item_vers.h') diff --git a/sql/item_vers.h b/sql/item_vers.h index 8b9c0e6056c..a42b5a033f2 100644 --- a/sql/item_vers.h +++ b/sql/item_vers.h @@ -35,7 +35,7 @@ public: } return "trt_commit_ts"; } - bool get_date(MYSQL_TIME *res, ulonglong fuzzy_date); + bool get_date(THD *thd, MYSQL_TIME *res, date_mode_t fuzzydate); Item *get_copy(THD *thd) { return get_item_copy(thd, this); } bool fix_length_and_dec() -- cgit v1.2.1