Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.1
    • Views
    • None
    • 10.2.0-6, 10.2.0-7, 10.2.0-8

    Description

      mysql> CREATE VIEW v3 AS SELECT * FROM (SELECT s1 FROM t1) AS x;
      ERROR 1349 (HY000): View's SELECT contains a subquery in the FROM clause

      See http://bugs.mysql.com/bug.php?id=16757
      and http://bugs.mysql.com/bug.php?id=12755

      specifically Eric Bergen's comments about the complexity of removing this restriction. It should be doable without too much hassle, and as we can see from the comments, it would resolve a lot of issues for people.

      Attachments

        Issue Links

          Activity

            It is more feature request, so bugs goes first, sorry.

            sanja Oleksandr Byelkin added a comment - It is more feature request, so bugs goes first, sorry.

            5.7 has it now

            serg Sergei Golubchik added a comment - 5.7 has it now

            revision-id: a6c0c01cec43731df3c58b4fdb68d3ac18e6c699 (mariadb-10.1.8-124-ga6c0c01)
            parent(s): 0485328d030f4b742dac7b667e8ed099beb9e9f2
            committer: Oleksandr Byelkin
            timestamp: 2016-02-29 18:56:45 +0100
            message:

            MDEV-3944: Allow derived tables in VIEWS

            sanja Oleksandr Byelkin added a comment - revision-id: a6c0c01cec43731df3c58b4fdb68d3ac18e6c699 (mariadb-10.1.8-124-ga6c0c01) parent(s): 0485328d030f4b742dac7b667e8ed099beb9e9f2 committer: Oleksandr Byelkin timestamp: 2016-02-29 18:56:45 +0100 message: MDEV-3944 : Allow derived tables in VIEWS —

            Tree: 10.2-MDEV-3944

            elenst Elena Stepanova added a comment - Tree: 10.2- MDEV-3944

            Ok to push.

            psergei Sergei Petrunia added a comment - Ok to push.

            People

              sanja Oleksandr Byelkin
              arjen Arjen Lentz
              Votes:
              8 Vote for this issue
              Watchers:
              14 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.