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

INSERT ... ON DUPLICATE KEY UPDATE doesn't support application-time periods

    XMLWordPrintable

Details

    Description

      Both DELETE and UPDATE support a clause to work with application-time periods:

      FOR PORTION OF date_period
          FROM '2001-01-01' TO '2018-01-01'
      

      INSERT ... ON DUPLICATE KEY UPDATE currently has no equivalent option.

      Reference:
      https://mariadb.com/kb/en/application-time-periods/

      —

      NOTE: for consistency, you might want to implement this clause for REPLACE too. But I'm not opening a feature request for it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f_razzoli Federico Razzoli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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