DBZ-7259 Solve Parser Issue in MySQL Create Procedure

add new line

add new line

DBZ-7259 Fix shouldParseDefiner unittest

fix formatting

fix formatting

Revert "DBZ-7259 Fix shouldParseDefiner unittest"

This reverts commit e7de21dfd1296467b48e9c140eea2f6c025877a6.

Revert "DBZ-7259 Solve Parser Issue in MySQL Create Procedure"

This reverts commit 91976c8714e2604e9412bf3f66e30023a9bcad08.

DBZ-7259 Solve Parser Issue in MySQL Create Procedure

add new line

add new line

DBZ-7259 Fix shouldParseDefiner unittest

fix formatting

fix formatting

Revert "DBZ-7259 Fix shouldParseDefiner unittest"

This reverts commit cfb2cd61bf40628754a56b4613954febd778b206.

Revert "# This is a combination of 4 commits."

This reverts commit 6d53494e53c91d774f0b2b76dba4dbfed590d64e.

DBZ-7259 Solve Parser Issue in MySQL Create Procedure

add new line

add new line

DBZ-7259 Fix shouldParseDefiner unittest

fix formatting

fix formatting

Revert "DBZ-7259 Fix shouldParseDefiner unittest"

This reverts commit e7de21dfd1296467b48e9c140eea2f6c025877a6.

Revert "DBZ-7259 Solve Parser Issue in MySQL Create Procedure"

This reverts commit 91976c8714e2604e9412bf3f66e30023a9bcad08.

DBZ-7259 Solve Parser Issue in MySQL Create Procedure

add new line

add new line

DBZ-7259 Fix shouldParseDefiner unittest

fix formatting

fix formatting

Revert "DBZ-7259 Fix shouldParseDefiner unittest"

This reverts commit cfb2cd61bf40628754a56b4613954febd778b206.

Revert "# This is a combination of 4 commits."

This reverts commit 6d53494e53c91d774f0b2b76dba4dbfed590d64e.

resolve
This commit is contained in:
Ilyas Ahsan 2024-01-08 10:16:30 +07:00 committed by Jiri Pechanec
parent 20fbe73bc8
commit 44c5feaffe
2 changed files with 18 additions and 1 deletions

View File

@ -1132,7 +1132,7 @@ querySpecification
querySpecificationNointo querySpecificationNointo
: SELECT selectSpec* selectElements : SELECT selectSpec* selectElements
fromClause? groupByClause? havingClause? windowClause? orderByClause? limitClause? fromClause? groupByClause? havingClause? windowClause? orderByClause? limitClause? unionStatement?
; ;
unionParenthesis unionParenthesis

View File

@ -731,3 +731,20 @@ BEGIN
LIMIT 500; LIMIT 500;
END END
#end #end
#begin
CREATE DEFINER=`PEUSER`@`%` PROCEDURE `SANDBOX`.`TEST_UNION`( )
BEGIN
SELECT ID ,SUM(COL_1) AS SUM_COL_1
FROM (
(SELECT ID ,COL_1 FROM TEST_AUTO_INC
UNION ALL
SELECT ID ,COL_1 FROM TEST_AUTO_INC TAI)
UNION ALL
(SELECT ID ,COL_1 FROM TEST_AUTO_INC TAI)
)SS
GROUP BY 1
ORDER BY 1
;
END
#end