Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Fix Version/s: 10.3.1
-
Component/s: OTHER
-
Labels:
Description
The code in these methods:
longlong Item::val_int_unsigned_typecast();
|
longlong Item::val_int_signed_typecast();
|
is not friendly to pluggable data types, as it tests for cmp_type().
Pluggable data types may want to implement a different way for signed/unsigned conversion.
Under terms of this task will add new methods in Type_handler:
virtual longlong Item_val_int_signed_typecast(Item *item) const; |
virtual longlong Item_val_int_unsigned_typecast(Item *item) const; |
and split the mentioned code into virtual implementations for relevant Type_handler_xxx classes.
Attachments
Issue Links
- blocks
-
MDEV-4912 Data type plugin API version 1
-
- Closed
-