This commit is contained in:
Miroslav Stampar
2023-01-15 18:07:44 +01:00
parent b0a1efaa44
commit 1f83076e70
2 changed files with 4 additions and 1 deletions

View File

@@ -596,6 +596,9 @@ class Agent(object):
if not _:
fieldsSelectFrom = None
if re.search(r"\bWHERE\b.+(MIN|MAX)", query, re.I):
fieldsMinMaxstr = None
fieldsToCastStr = fieldsNoSelect
if fieldsSubstr: