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

TIME('.123') and TIMESTAMP('.123') work differently

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.0.4, 5.5.33, 5.3.12
    • 10.2
    • None
    • None

    Description

      mysql> select time('.123'), timestamp('.123');
      +--------------+-------------------+
      | time('.123') | timestamp('.123') |
      +--------------+-------------------+
      | 00:00:00.123 | NULL              |
      +--------------+-------------------+

      timestamp('.123') should return '0000-00-00 00:00:00.123' instead of NULL.

      Attachments

        Activity

          People

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