mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Cleanup: Removing the unused method Type_handler::get_handler_by_cmp_type
It's not used in 10.5+
This commit is contained in:
@ -1451,22 +1451,6 @@ Type_handler_string_result::charset_for_protocol(const Item *item) const
|
||||
}
|
||||
|
||||
|
||||
const Type_handler *
|
||||
Type_handler::get_handler_by_cmp_type(Item_result type)
|
||||
{
|
||||
switch (type) {
|
||||
case REAL_RESULT: return &type_handler_double;
|
||||
case INT_RESULT: return &type_handler_slonglong;
|
||||
case DECIMAL_RESULT: return &type_handler_newdecimal;
|
||||
case STRING_RESULT: return &type_handler_long_blob;
|
||||
case TIME_RESULT: return &type_handler_datetime;
|
||||
case ROW_RESULT: return &type_handler_row;
|
||||
}
|
||||
DBUG_ASSERT(0);
|
||||
return &type_handler_string;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
If we have a mixture of:
|
||||
- a MariaDB standard (built-in permanent) data type, and
|
||||
|
Reference in New Issue
Block a user