mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-17317 Add THD* parameter into Item::get_date() and stricter data type control to "fuzzydate"
This commit is contained in:
@ -69,9 +69,9 @@ public:
|
||||
DBUG_ASSERT(0); // impossible
|
||||
return mark_unsupported_function("proc", arg, VCOL_IMPOSSIBLE);
|
||||
}
|
||||
bool get_date(MYSQL_TIME *ltime, ulonglong fuzzydate)
|
||||
bool get_date(THD *thd, MYSQL_TIME *ltime, date_mode_t fuzzydate)
|
||||
{
|
||||
return type_handler()->Item_get_date(this, ltime, fuzzydate);
|
||||
return type_handler()->Item_get_date(thd, this, ltime, fuzzydate);
|
||||
}
|
||||
Item* get_copy(THD *thd) { return 0; }
|
||||
};
|
||||
|
Reference in New Issue
Block a user