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

Server crashes in Static_binary_string::length

    XMLWordPrintable

Details

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

    Description

      Description
      Using `PERCENTILE_DISC` window function with specific ordering triggers a crash.

      Reproduction Steps
      CREATE DATABASE IF NOT EXISTS HuangHe;
      USE HuangHe;
      CREATE TABLE t (a varchar(8));
      INSERT INTO t VALUES ('foo'), (NULL);
      SELECT PERCENTILE_DISC(2) WITHIN GROUP (ORDER BY a) OVER () FROM t;
      DROP TABLE t;

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maohaogang maohaogang
              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.