Details

    Description

      This function is used to add / subtract months from a given date/datetime value.

      It's very similar to DATE_ADD() function in MariaDB.

      MariaDB: DATE_ADD(sysdate(), interval 5 months)
      Oracle: ADD_MONTHS(sysdate, 5)

      Oracle Doc: https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions004.htm

      Attachments

        Issue Links

          Activity

            woqutech.com woqutech.com added a comment -

            The patch is implement add_months funcions using Item_date_add_interval(thd, $3, $5, INTERVAL_MONTH, 0), please review the patch, thanks!

            woqutech.com woqutech.com added a comment - The patch is implement add_months funcions using Item_date_add_interval(thd, $3, $5, INTERVAL_MONTH, 0), please review the patch, thanks!

            I looked at the patch and it looks ok.
            I will push it in to bb-10.6-monty today and into 10.6 next week

            monty Michael Widenius added a comment - I looked at the patch and it looks ok. I will push it in to bb-10.6-monty today and into 10.6 next week

            People

              monty Michael Widenius
              Faisal Faisal Saeed (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.