mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-20809 EXTRACT from INET6 value does not produce any warnings
Disallowing EXTRACT(xxx FROM inet6arg) as fix time. Adding a new method Type_handler::can_return_extract_source().
This commit is contained in:
@ -3616,6 +3616,7 @@ public:
|
||||
virtual bool can_return_text() const { return true; }
|
||||
virtual bool can_return_date() const { return true; }
|
||||
virtual bool can_return_time() const { return true; }
|
||||
virtual bool can_return_extract_source(interval_type type) const;
|
||||
virtual bool is_bool_type() const { return false; }
|
||||
virtual bool is_general_purpose_string_type() const { return false; }
|
||||
virtual uint Item_time_precision(THD *thd, Item *item) const;
|
||||
|
Reference in New Issue
Block a user