Details

    • Type: Task
    • Status: Stalled
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: 10.2
    • Component/s: None
    • Labels:
      None

      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            arjen Arjen Lentz added a comment -

            awesome, very happy to see this scheduled for fixing in 10.0.3

            Show
            arjen Arjen Lentz added a comment - awesome, very happy to see this scheduled for fixing in 10.0.3
            Hide
            sanja Oleksandr Byelkin added a comment -

            In MariaDB there is no so much work should be done, but still derived tables of view should be processed correctly to build its field translation table and privilages should be read also.

            Show
            sanja Oleksandr Byelkin added a comment - In MariaDB there is no so much work should be done, but still derived tables of view should be processed correctly to build its field translation table and privilages should be read also.
            Hide
            egalland Emmanuel Galland added a comment -

            Hello,
            is there any hope for a fix in 10.0.5? (or at least 10.0.6?)
            thx

            Show
            egalland Emmanuel Galland added a comment - Hello, is there any hope for a fix in 10.0.5? (or at least 10.0.6?) thx
            Hide
            egalland Emmanuel Galland added a comment -

            Hello,
            is there anything new about this problematic behaviour ?

            Show
            egalland Emmanuel Galland added a comment - Hello, is there anything new about this problematic behaviour ?
            Hide
            sanja Oleksandr Byelkin added a comment -

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

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

              People

              • Assignee:
                sanja Oleksandr Byelkin
                Reporter:
                arjen Arjen Lentz
              • Votes:
                7 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5 weeks
                  5w
                  Remaining:
                  Remaining Estimate - 5 weeks
                  5w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified