This commit is contained in:
Miroslav Stampar
2016-12-12 10:47:05 +01:00
parent f7f33bef9f
commit c54c2204a1
3 changed files with 5 additions and 3 deletions

View File

@@ -529,6 +529,8 @@ class Agent(object):
elif fieldsSelect:
fieldsToCastStr = fieldsSelect.group(1)
fieldsToCastStr = fieldsToCastStr or ""
# Function
if re.search("\A\w+\(.*\)", fieldsToCastStr, re.I) or (fieldsSelectCase and "WHEN use" not in query) or fieldsSubstr:
fieldsToCastList = [fieldsToCastStr]