1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-12617 CASE and CASE-alike hybrid functions do not preserve exact data types

This commit is contained in:
Alexander Barkov
2017-05-04 11:38:55 +04:00
parent 78a891c87b
commit 01b308c39c
8 changed files with 275 additions and 149 deletions

View File

@ -535,6 +535,7 @@ protected:
public:
static const Type_handler *blob_type_handler(uint max_octet_length);
static const Type_handler *string_type_handler(uint max_octet_length);
static const Type_handler *bit_and_int_mixture_handler(uint max_char_len);
/**
Return a string type handler for Item
If too_big_for_varchar() returns a BLOB variant, according to length.