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

the hour value is out of range 0-24,affected by adding function

    XMLWordPrintable

Details

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

    Description

      the hour value is out of range 0-24,affected by adding function

      mysql> select hour(time '03:24:35'+ INTERVAL '24' hour);
      +-------------------------------------------+
      | hour(time '03:24:35'+ INTERVAL '24' hour) |
      +-------------------------------------------+
      |                                        27 |
      +-------------------------------------------+
      1 row in set (0.00 sec)
      

      Version

      mysql> select version();
      +------------------------+
      | version()              |
      +------------------------+
      | 12.1.2-MariaDB-ubu2404 |
      +------------------------+
      1 row in set (0.00 sec)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            chen7897 cl hl
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.