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

DATE()/STR_TO_DATE accept zero month/day

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 13.1
    • N/A
    • Temporal Types
    • None
    • Not for Release Notes

    Description

      SELECT DATE('2026-00-01'); – MDB: 2026-00-01 MY: NULL
      SELECT DATE('2026-01-00'); – MDB: 2026-01-00 MY: NULL
      SELECT STR_TO_DATE('2026 3','%Y %c'); – MDB: 2026-03-00 MY: NULL

      Attachments

        Activity

          People

            Unassigned Unassigned
            chunlingqin chunlingqin
            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.