Details

    Description

      Currently functions TIMESTAMP() and ADDTIME()/SUBTIME() reuse the same class Item_func_add_time.
      We'll add a dedicated class for TIMESTAMP().

      Rationale:

      • Item_func_timestamp does not have to derive from Item_hybrid_func. It always returns a fixed data type (DATETIME for now).
      • Soon we'll change TIMESTAMP() to return TIMESTAMP instead of DATETIME, so the underlying implementations will diverge anyway.
      • Item_func_add_time will be simplified

      Note, with the recently implemented class Sec6_add, there won't be duplicate code.

      Attachments

        Issue Links

          Activity

            bar Alexander Barkov created issue -
            bar Alexander Barkov made changes -
            Field Original Value New Value
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            issue.field.resolutiondate 2018-07-31 12:58:49.0 2018-07-31 12:58:49.572
            bar Alexander Barkov made changes -
            Fix Version/s 10.4.0 [ 23115 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 88665 ] MariaDB v4 [ 133640 ]

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.