mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
A cleanup for MDEV-19908 Add class Type_collection
If we have a mixture of: - a MariaDB standard (built-in permanent) data type, and - a non-standard (optionally compiled or pluggable) data type, then ask the type collection of the non-standard type to aggregate the mixture. If the non-standard collection fails, then continue aggregation with Type_handler_data.
This commit is contained in:
@@ -3349,6 +3349,9 @@ public:
|
||||
static const Type_handler *get_handler_by_field_type(enum_field_types type);
|
||||
static const Type_handler *get_handler_by_real_type(enum_field_types type);
|
||||
static const Type_handler *get_handler_by_cmp_type(Item_result type);
|
||||
static const Type_collection *
|
||||
type_collection_for_aggregation(const Type_handler *h1,
|
||||
const Type_handler *h2);
|
||||
virtual const Type_collection *type_collection() const;
|
||||
static const
|
||||
Type_handler *aggregate_for_result_traditional(const Type_handler *h1,
|
||||
|
Reference in New Issue
Block a user