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

WITH TIES cannot be used in EXISTS subquery

    XMLWordPrintable

Details

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

    Description

      --source include/have_sequence.inc
       
      select * from seq_1_to_20 where exists (select seq from seq_1_to_10 order by seq fetch first 5 row with ties);
      

      10.6 0a67daad

      ERROR 4180 (HY000): FETCH ... WITH TIES requires ORDER BY clause to be present
      

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.