1
0
Fork 0

fix a glitch in explainer output

This commit is contained in:
Jan Steemann 2016-07-21 12:08:50 +02:00
parent 5edaf0043a
commit 23dc618311
1 changed files with 1 additions and 1 deletions

View File

@ -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;