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

Skip to content

Commit 261b286

Browse files
committed
Fix for an Issue #209
1 parent 6a271fe commit 261b286

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/request/inject.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def __goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, cha
138138
startLimit = 0
139139
stopLimit = None
140140
outputs = BigArray()
141-
test = None
142141
untilLimitChar = None
143142
untilOrderChar = None
144143

@@ -218,11 +217,10 @@ def __goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, cha
218217
elif Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.SYBASE):
219218
stopLimit += startLimit
220219

220+
test = True
221221
if not stopLimit or stopLimit <= 1:
222222
if Backend.getIdentifiedDbms() in FROM_DUMMY_TABLE and expression.upper().endswith(FROM_DUMMY_TABLE[Backend.getIdentifiedDbms()]):
223223
test = False
224-
else:
225-
test = True
226224

227225
if test:
228226
# Count the number of SQL query entries output

0 commit comments

Comments
 (0)