Bug fix (privately reported: --technique=E --where='id=1')

This commit is contained in:
Miroslav Stampar 2018-12-03 23:07:13 +01:00
parent 536d9a597e
commit 65f227fe65

View File

@ -444,8 +444,11 @@ def errorUse(expression, dump=False):
if not value and not abortedFlag: if not value and not abortedFlag:
value = _errorFields(expression, expressionFields, expressionFieldsList) value = _errorFields(expression, expressionFields, expressionFieldsList)
if value and isListLike(value) and len(value) == 1 and isinstance(value[0], basestring): if value and isListLike(value):
value = unArrayizeValue(value) if len(value) == 1 and isinstance(value[0], basestring):
value = unArrayizeValue(value)
elif len(value) > 1 and stopLimit == 1:
value = [value]
duration = calculateDeltaSeconds(start) duration = calculateDeltaSeconds(start)