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.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
{{decimal_precision()}} implementations for the classes implementing CASE and CASE-alike functions became redundant after implementing {{ We'll remove {{decimal_precision()}} from the following classes: {code:cpp} Item_func_ifnull Item_func_case_abbreviation2 Item_func_if Item_func_nvl2 Item_func_nullif Item_func_case {code} |
{{decimal_precision()}} implementations for the classes implementing CASE and CASE-alike functions became redundant after implementing {{ We'll remove {{decimal_precision()}} from the following classes: {code:cpp} Item_func_ifnull Item_func_case_abbreviation2 Item_func_if Item_func_nvl2 Item_func_nullif Item_func_case {code} This will reduce the amount of duplicate code. |
Labels | datatype refactoring |
issue.field.resolutiondate | 2017-05-10 05:27:48.0 | 2017-05-10 05:27:48.812 |
Fix Version/s | 10.3.1 [ 22532 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 80707 ] | MariaDB v4 [ 133248 ] |
Pushed to bb-10.2-ext