Update lib/core/agent.py

This commit is contained in:
Miroslav Stampar 2012-12-18 20:25:00 +01:00
parent 738dbde16c
commit 9e2f0131b9

View File

@ -606,7 +606,7 @@ class Agent(object):
if where == PAYLOAD.WHERE.ORIGINAL:
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, ):
limitOriginal = "%s " % (queries[Backend.getIdentifiedDbms()].limit.query % (0, 0))
limitOriginal = "%s " % (queries[Backend.getIdentifiedDbms()].limit.query % (0, kb.testMode))
unionQuery = self.prefixQuery("%sUNION ALL SELECT " % limitOriginal, prefix=prefix)