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

Server doesn't account for engines that supports OFFSET on their own.

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • None
    • 10.5.0
    • Optimizer
    • None

    Description

      It comes out that server doesn't honors group by handlers that supports OFFSET on their own and the server code in select_send::send_data tries to reapply OFFSET to the set returned by the handler[1]

      select i from t1 group by i limit 10,20; # Start from offset 10

      There is only engine that supports both group by handler and internal sorting ATM, so one could reproduce this only with columnstore engine built of:

      • develop branch columnstore fork of the server's code
      • develop branch columnstore engine

      1. https://hastebin.com/afepesalez.cs

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              drrtuy Roman
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5d Original Estimate - 5d
                  5d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 6.25d
                  6.25d

                  Git Integration

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