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

Crash in my_decimal2decimal in a ORDER BY query

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.3.12
    • 10.0.4, 5.5.32, 5.3.13
    • None
    • None

    Description

      This script crashes mysqld:

      set @@time_zone='+00:00';
      drop table if exists t1;
      create table t1 (a datetime(4) not null);
      insert into t1 values ('2001-01-01 00:00:00'),('2000-00-00 00:00:00');
      select unix_timestamp(a) from t1 order by 1;

      Attachments

        Activity

          People

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