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

Query with CTE hangs if assignment operator (:=) is used

    Details

      Description

      testcase:

      SET @c=1;
       
      WITH RECURSIVE cte AS
      	(SELECT 5 
      	UNION
      	SELECT @c:=@c+1 FROM cte WHERE @c<3)
      SELECT * FROM cte;
      

        Attachments

          Activity

            People

            • Assignee:
              igor Igor Babaev
              Reporter:
              alice Alice Sherepa
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: