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

Infinite recursive loop in CTE

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.2, 10.3
    • N/A
    • Optimizer - CTE
    • None

    Description

      testcase:

      WITH RECURSIVE cte AS
        (SELECT 1 FROM cte UNION ALL SELECT 1)
      SELECT * FROM cte;
      

      Should probably be an error, that in anchor part table cte is not used

      Attachments

        Activity

          People

            alice Alice Sherepa
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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