mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
Fixed many problems in the code of With_element::check_unrestricted_recursive().
Added the check whether there are set functions in the specifications of recursive CTE. Added the check whether there are recursive references in subqueries. Introduced boolean system variable 'standards_compliant_cte'. By default it's set to 'on'. When it's set to 'off' non-standard compliant CTE can be executed.
This commit is contained in:
parent
3b47632bfc
commit
46a2e41398
13 changed files with 675 additions and 52 deletions
|
|
@ -7156,6 +7156,8 @@ ER_RECURSIVE_WITHOUT_ANCHORS
|
|||
eng "No anchors for recursive WITH element '%s'"
|
||||
ER_REF_TO_RECURSIVE_WITH_TABLE_IN_DERIVED
|
||||
eng "Reference to recursive WITH table '%s' in materiazed derived"
|
||||
ER_NOT_STANDARDS_COMPLIANT_RECURSIVE
|
||||
eng "Restrictions imposed on recursive definitions are violated for table '%s'"
|
||||
#
|
||||
# Internal errors, not used
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue