1
0
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:
Alexander Barkov
2017-05-06 14:52:18 +04:00
parent 380ec90905
commit 9a360e97a2
8 changed files with 15 additions and 18 deletions

View File

@ -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)
{ }