Skip to content

Commit d424d4c

Browse files
committed
1 parent 8bf236c commit d424d4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/core/agent.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ def getFields(self, query):
501501
elif fieldsMinMaxstr:
502502
fieldsToCastStr = fieldsMinMaxstr.groups()[0]
503503
elif fieldsExists:
504-
fieldsToCastStr = fieldsSelect.groups()[0]
504+
if fieldsSelect:
505+
fieldsToCastStr = fieldsSelect.groups()[0]
505506
elif fieldsSelectTop:
506507
fieldsToCastStr = fieldsSelectTop.groups()[0]
507508
elif fieldsSelectRownum:

0 commit comments

Comments
 (0)