mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-12656 Crash in CREATE..SELECT..UNION with a ENUM column and NULL
This commit is contained in:
@ -470,12 +470,24 @@ const Type_handler *Type_handler_row::type_handler_for_comparison() const
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
const Type_handler *Type_handler_enum::type_handler_for_item_field() const
|
||||
{
|
||||
return &type_handler_string;
|
||||
}
|
||||
|
||||
|
||||
const Type_handler *Type_handler_enum::cast_to_int_type_handler() const
|
||||
{
|
||||
return &type_handler_longlong;
|
||||
}
|
||||
|
||||
|
||||
const Type_handler *Type_handler_set::type_handler_for_item_field() const
|
||||
{
|
||||
return &type_handler_string;
|
||||
}
|
||||
|
||||
|
||||
const Type_handler *Type_handler_set::cast_to_int_type_handler() const
|
||||
{
|
||||
return &type_handler_longlong;
|
||||
|
Reference in New Issue
Block a user