1
0
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:
Alexander Barkov
2020-06-01 10:35:01 +04:00
parent f67522ede6
commit 35cbbd4d70
10 changed files with 90 additions and 0 deletions

View File

@ -8994,6 +8994,11 @@ bool Type_handler::partition_field_append_value(
}
bool Type_handler::can_return_extract_source(interval_type int_type) const
{
return type_collection() == &type_collection_std;
}
/***************************************************************************/
LEX_CSTRING Charset::collation_specific_name() const