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

OFFSET doesn't work with view

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.6, 10.7, 10.8, 10.9, 10.11
    • 10.6, 10.11
    • None

    Description

      Test:

      create table t1 (a int);
      insert into t1 values (1), (1), (2), (3), (2);
      create view v1 as select * from t1 order by a offset 2 rows;
      select * from v1;
      drop view v1;
      drop table t1;
      

      Expected result:

      a
      2
      2
      3
      

      Actual result:

      a
      1
      1
      2
      2
      3
      

      Attachments

        Issue Links

          Activity

            People

              cvicentiu Vicențiu Ciorbaru
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.