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

TIME(99991231235959) returns 838:59:59 instead of 23:59:59

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0, 10.1, 10.2, 10.3, 10.4
    • Fix Version/s: 10.4.0
    • Component/s: Temporal Types
    • Labels:
      None

      Description

      SELECT TIME(99991231235957), TIME(99991231235958), TIME(99991231235959);
      

      +----------------------+----------------------+----------------------+
      | TIME(99991231235957) | TIME(99991231235958) | TIME(99991231235959) |
      +----------------------+----------------------+----------------------+
      | 23:59:57             | 23:59:58             | 838:59:59            |
      +----------------------+----------------------+----------------------+
      

      The expected result for the last column is 23:59:58.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                bar Alexander Barkov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: