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

CTE is not visible during view creation

    XMLWordPrintable

Details

    Description

      Following fails

      USE test;
      SET @sql_query = "
        CREATE OR REPLACE VIEW cte_test AS
         WITH  cte1  AS ( SELECT 1 )
          ,    cte2  AS ( SELECT * FROM cte1 )
          SELECT * FROM cte2;
      ";
      PREPARE stmt FROM @sql_query;
      

      It was mentioned in MDEV-13436

      Attachments

        Issue Links

          Activity

            People

              igor Igor Babaev
              sanja Oleksandr Byelkin
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.