Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7e704a23
Commit
7e704a23
authored
6 years ago
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed 32bit version SELECT nesting depth.
parent
9183f66f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_lex.h
sql/sql_lex.h
+2
-2
No files found.
sql/sql_lex.h
View file @
7e704a23
...
...
@@ -3052,7 +3052,7 @@ struct LEX: public Query_tables_list
required a local context, the parser pops the top-most context.
*/
List
<
Name_resolution_context
>
context_stack
;
SELECT_LEX
*
select_stack
[
MAX_SELECT_NESTING
];
SELECT_LEX
*
select_stack
[
MAX_SELECT_NESTING
+
1
];
uint
select_stack_top
;
SQL_I_List
<
ORDER
>
proc_list
;
...
...
@@ -3444,7 +3444,7 @@ struct LEX: public Query_tables_list
select_stack_head
()
->
select_number
:
0
),
select_lex
,
select_lex
->
select_number
));
if
(
unlikely
(
select_stack_top
==
MAX_SELECT_NESTING
))
if
(
unlikely
(
select_stack_top
>
MAX_SELECT_NESTING
))
{
my_error
(
ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT
,
MYF
(
0
));
DBUG_RETURN
(
TRUE
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment