Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59b6791

Browse files
committed
minor improvement
1 parent c37ad88 commit 59b6791

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/inject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def _goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, char
198198
if isNumPosStrValue(count):
199199
count = int(count)
200200

201-
if batch:
201+
if batch or count == 1:
202202
stopLimit = count
203203
else:
204204
message = "the SQL query provided can return "

0 commit comments

Comments
 (0)