1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

MDEV-20798 Conversion from INET6 to other types performed without errors or warnings

This commit is contained in:
Alexander Barkov
2019-10-11 22:19:30 +04:00
parent d8e599bb80
commit 5d6d28f274
6 changed files with 610 additions and 15 deletions

View File

@@ -3411,6 +3411,16 @@ public:
{
return false;
}
/*
If operations such as:
UPDATE t1 SET binary_string_field=this_type_field;
should store this_type_field->val_native() rather than
this_type_field->val_str().
*/
virtual bool convert_to_binary_using_val_native() const
{
return false;
}
virtual bool is_timestamp_type() const
{
return false;