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

STR_TO_DATE errors when used during an INSERT

    XMLWordPrintable

    Details

      Description

      This returns `NULL`...`SELECT STR_TO_DATE('xxx', '%Y-%M-%d')`

      This errors...`INSERT INTO anyTable SELECT STR_TO_DATE('xxx', '%Y-%M-%d')`

      https://dbfiddle.uk/?rdbms=mariadb_10.2&fiddle=26157cc83c57587beda704ab6f38cc37

        Attachments

          Activity

            People

            Assignee:
            greenman Ian Gilfillan
            Reporter:
            matbailie Mat Bailie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: