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

Server crashes on certain window function usage

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.3.14, 10.3.16, 10.4.4
    • Fix Version/s: N/A
    • Labels:
      None
    • Environment:
      C:\Users\lukas> ver
      Microsoft Windows [Version 10.0.17134.706]

      select version();
      version() |
      ------------------------------------|
      10.4.4-MariaDB-1:10.4.4+maria~bionic|

      Description

      I'm running MariaDB in Docker on Windows. Running the following script crashes the server:

      drop table if exists t;
      create table t (i int, j int);
      insert into t values (1, 1), (2, 1), (3, 2), (4, 2);
       
      select 
        i, 
        max(i) over (partition by (select 1))
      from t
      order by i asc;
      

        Attachments

        1. log.txt
          30 kB
        2. my.cnf
          5 kB

          Issue Links

            Activity

              People

              • Assignee:
                varun Varun Gupta
                Reporter:
                lukas.eder Lukas Eder
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: