mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Cleanup: changing set_handler_by_field_type(field_type()) to set_handler(type_handler()).
This gives better performance, as excludes handler-by-type lookup.
This commit is contained in:
@ -2259,9 +2259,6 @@ public:
|
||||
Type_handler_hybrid_field_type(const Type_handler *handler)
|
||||
:m_type_handler(handler)
|
||||
{ }
|
||||
Type_handler_hybrid_field_type(enum_field_types type)
|
||||
:m_type_handler(Type_handler::get_handler_by_field_type(type))
|
||||
{ }
|
||||
Type_handler_hybrid_field_type(const Type_handler_hybrid_field_type *other)
|
||||
:m_type_handler(other->m_type_handler)
|
||||
{ }
|
||||
|
Reference in New Issue
Block a user