Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
decimal_precision() implementations for the classes implementing CASE and CASE-alike functions became redundant after implementing MDEV-12770. The derived implementation from Item should perfectly do the job (by going through Type_handler_xxx::type_handler().
We'll remove decimal_precision() from the following classes:
Item_func_ifnull
|
Item_func_case_abbreviation2
|
Item_func_if
|
Item_func_nvl2
|
Item_func_nullif
|
Item_func_case
|
This will reduce the amount of duplicate code.