Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
None
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
- is duplicated by
-
MDEV-13998 PREPARE still doesn't work as expected & throws errors but MySQL is working fine
- Closed
- relates to
-
MDEV-13436 PREPARE doesn't work as expected & throws errors but MySQL is working fine
- Closed