Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.0.3, 5.5.31, 5.3.12
    • 5.5.32, 5.3.13
    • None
    • None

    Description

      This query crashes the server (debug build):

      SELECT CONVERT_TZ(GREATEST(DATE('2021-00-00'),DATE('2021-00-00')),'+00:00','+7:5');

      So does this one:

      SELECT CONVERT_TZ(GREATEST(TIMESTAMP('2021-00-00'),TIMESTAMP('2021-00-00')),'+00:00','+7:5');

      Attachments

        Activity

          bar Alexander Barkov added a comment - - edited

          #4 tztime.cc:799: my_time_t sec_since_epoch(int, int, int, int, int, int): Assertion `mon > 0 && mon < 13' failed
          #5 0x00000000006df9f9 in Time_zone_offset::TIME_to_gmt_sec (this=0x2887d40,
          t=0x7fffcc2e92f0, error_code=0x7fffcc2e9324)
          at /home/bar/maria-bzr/maria-10.0-connect/sql/tztime.cc:1385
          #6 0x00000000006dc801 in TIME_to_timestamp (thd=0x2b1b920, t=0x7fffcc2e92f0,
          error_code=0x7fffcc2e9324)

          bar Alexander Barkov added a comment - - edited #4 tztime.cc:799: my_time_t sec_since_epoch(int, int, int, int, int, int): Assertion `mon > 0 && mon < 13' failed #5 0x00000000006df9f9 in Time_zone_offset::TIME_to_gmt_sec (this=0x2887d40, t=0x7fffcc2e92f0, error_code=0x7fffcc2e9324) at /home/bar/maria-bzr/maria-10.0-connect/sql/tztime.cc:1385 #6 0x00000000006dc801 in TIME_to_timestamp (thd=0x2b1b920, t=0x7fffcc2e92f0, error_code=0x7fffcc2e9324)

          People

            bar Alexander Barkov
            bar Alexander Barkov
            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.