mdev-9864: cleanup, re-factoring.

Added comments.
Added reaction for exceeding maximum number of elements in with clause.
Added a test case to check this reaction.
Added a test case where the specification of a recursive table
uses two non-recursive with tables.
This commit is contained in:
Igor Babaev 2016-08-29 22:45:17 -07:00
commit 9ac235ab7d
10 changed files with 341 additions and 79 deletions

View file

@ -7150,6 +7150,8 @@ ER_BAD_COMMAND_IN_MULTI
ukr "Команда '%s' не дозволена для COM_MULTI"
ER_WITH_COL_WRONG_LIST
eng "WITH column list and SELECT field list have different column counts"
ER_TOO_MANY_DEFINITIONS_IN_WITH_CLAUSE
eng "Too many WITH elements in WITH clause"
ER_DUP_QUERY_NAME
eng "Duplicate query name in WITH clause"
ER_RECURSIVE_WITHOUT_ANCHORS