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

LP:607566 - Assert failure triggered by a query with order by and a virtual column in its select list

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Originally this bug was reported by Philip Stoev in the bug entry #603654. after the fix for bug #603654 had been committed. Though the bug triggers the same assertion failure it differs from the bug originally reported in the bug entry ##603654 .
      The new bug can be reproduced with following simple test case:
      CREATE TABLE t1 (
      a char(255), b char(255), c char(255), d char(255),
      v char(255) AS (CONCAT(c,d) ) VIRTUAL
      );
      INSERT INTO t1(a,b,c,d) VALUES ('w','x','y','z'), ('W','X','Y','Z');
      SELECT v FROM t1 ORDER BY CONCAT(a,b);

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 607566

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 607566

              People

              • Assignee:
                igor Igor Babaev
                Reporter:
                igor Igor Babaev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: