8000 Add limits for AQL query complexity by jsteemann · Pull Request #14480 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Add limits for AQL query complexity #14480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 14, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update arangod/Aql/Ast.cpp
  • Loading branch information
jsteemann authored Jul 12, 2021
commit 7affccd7d7d0f83b457f658e14791ed49bc74032
2 changes: 1 addition & 1 deletion arangod/Aql/Ast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,7 @@ void Ast::validateAndOptimize(transaction::Methods& trx) {
AqlFunctionsInternalCache aqlFunctionsInternalCache;
transaction::Methods& trx;
int64_t stopOptimizationRequests = 0;
int64_t nestingLevel = 0; // only use for subqueries
int64_t nestingLevel = 0; // only used for subqueries
int64_t filterDepth = -1; // -1 = not in filter
uint64_t recursionDepth = 0; // current depth of the tree we walk
bool hasSeenAnyWriteNode = false;
Expand Down
0