mirror of https://gitee.com/bigwinds/arangodb
fix a glitch in explainer output
This commit is contained in:
parent
5edaf0043a
commit
23dc618311
|
@ -969,7 +969,7 @@ function processQuery (query, explain) {
|
|||
collect +=
|
||||
(node.count ? ' ' + keyword('WITH COUNT') : '') +
|
||||
(node.outVariable ? ' ' + keyword('INTO') + ' ' + variableName(node.outVariable) : '') +
|
||||
(node.expressionVariable ? ' = ' + variableName(node.expressionVariable) : '') +
|
||||
((node.expressionVariable && node.outVariable) ? " = " + variableName(node.expressionVariable) : "") +
|
||||
(node.keepVariables ? ' ' + keyword('KEEP') + ' ' + node.keepVariables.map(function (variable) { return variableName(variable.variable); }).join(', ') : '') +
|
||||
' ' + annotation('/* ' + node.collectOptions.method + '*/');
|
||||
return collect;
|
||||
|
|
Loading…
Reference in New Issue