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

Inconsitent results for TIME(8395960) and TIME('839:59:60')

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
    • 10.4(EOL)
    • Temporal Types
    • None

    Description

      SELECT TIME(8395960), TIME('839:59:60');
      

      +---------------+-------------------+
      | TIME(8395960) | TIME('839:59:60') |
      +---------------+-------------------+
      | 838:59:59     | NULL              |
      +---------------+-------------------+
      1 row in set, 2 warnings (0.00 sec)
      

      Looks wrong. Both columns should be NULL,
      A value with a bad second value 60 should not adjust to the maximum time value.

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

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