1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-27668 Assertion `item->type_handler()->is_traditional_scalar_type() || item->type_handler() == type_handler()' failed in Field_inet6::can_optimize_keypart_ref

This commit is contained in:
Alexander Barkov
2022-01-28 22:32:56 +04:00
parent fb8fea3490
commit 059a8fd87e
4 changed files with 50 additions and 2 deletions

View File

@ -3773,6 +3773,11 @@ public:
{
return NULL;
}
const Type_handler *type_handler_base_or_self() const
{
const Type_handler *res= type_handler_base();
return res ? res : this;
}
virtual const Type_handler *type_handler_for_comparison() const= 0;
virtual const Type_handler *type_handler_for_native_format() const
{