Fix RCTE bugs
This commit is contained in:
@ -14751,8 +14751,8 @@ static const _error _error_OB_ERR_NEED_UNION_ALL_IN_RECURSIVE_CTE = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_CTE_RECURSIVE_REQUIRES_UNION,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "recursive WITH clause must use a UNION ALL operation",
|
||||
.str_user_error = "recursive WITH clause must use a UNION ALL operation",
|
||||
.str_error = "Recursive Common Table Expression should contain a UNION ALL",
|
||||
.str_user_error = "Recursive Common Table Expression should contain a UNION ALL",
|
||||
.oracle_errno = 32040,
|
||||
.oracle_str_error = "ORA-32040: recursive WITH clause must use a UNION ALL operation",
|
||||
.oracle_str_user_error = "ORA-32040: recursive WITH clause must use a UNION ALL operation"
|
||||
@ -14763,8 +14763,8 @@ static const _error _error_OB_ERR_NEED_ONLY_TWO_BRANCH_IN_RECURSIVE_CTE = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "UNION ALL operation in recursive WITH clause must have only two branches",
|
||||
.str_user_error = "UNION ALL operation in recursive WITH clause must have only two branches",
|
||||
.str_error = "More than one recursive query blocks of Common Table Expression not supported",
|
||||
.str_user_error = "More than one recursive query blocks of Common Table Expression not supported",
|
||||
.oracle_errno = 32041,
|
||||
.oracle_str_error = "ORA-32041: UNION ALL operation in recursive WITH clause must have only two branches",
|
||||
.oracle_str_user_error = "ORA-32041: UNION ALL operation in recursive WITH clause must have only two branches"
|
||||
@ -14943,8 +14943,8 @@ static const _error _error_OB_ERR_CTE_ILLEGAL_RECURSIVE_BRANCH = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_CTE_RECURSIVE_FORBIDS_AGGREGATION,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Recursive Common Table Expression can contain neither aggregation nor window functions in recursive query block",
|
||||
.str_user_error = "Recursive Common Table Expression can contain neither aggregation nor window functions in recursive query block",
|
||||
.str_error = "ORDER BY / LIMIT / SELECT DISTINCT / HAVING / WINDOW FUNCTION / GROUP BY in recursive query block of Common Table Expression not supported",
|
||||
.str_user_error = "ORDER BY / LIMIT / SELECT DISTINCT / HAVING / WINDOW FUNCTION / GROUP BY in recursive query block of Common Table Expression not supported",
|
||||
.oracle_errno = 32486,
|
||||
.oracle_str_error = "ORA-32486: unsupported operation in recursive branch of recursive WITH clause",
|
||||
.oracle_str_user_error = "ORA-32486: unsupported operation in recursive branch of recursive WITH clause"
|
||||
|
||||
Reference in New Issue
Block a user