From 261b28602186ea633abe65a7bfd32b450a446efa Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 20 Oct 2012 13:17:45 +0200 Subject: [PATCH] Fix for an Issue #209 --- lib/request/inject.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/request/inject.py b/lib/request/inject.py index bfd7b6a56..cdf320054 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -138,7 +138,6 @@ def __goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, cha startLimit = 0 stopLimit = None outputs = BigArray() - test = None untilLimitChar = None untilOrderChar = None @@ -218,11 +217,10 @@ def __goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, cha elif Backend.getIdentifiedDbms() in (DBMS.MSSQL, DBMS.SYBASE): stopLimit += startLimit + test = True if not stopLimit or stopLimit <= 1: if Backend.getIdentifiedDbms() in FROM_DUMMY_TABLE and expression.upper().endswith(FROM_DUMMY_TABLE[Backend.getIdentifiedDbms()]): test = False - else: - test = True if test: # Count the number of SQL query entries output