Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12771

Remove Item_func_xxx::decimal_precision() for case and abbreviations

    XMLWordPrintable

Details

    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

          People

            bar Alexander Barkov
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.