From 9e2f0131b9d2c526f5045195563548bfd31610ab Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 18 Dec 2012 20:25:00 +0100 Subject: [PATCH] Update lib/core/agent.py --- lib/core/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/agent.py b/lib/core/agent.py index e0626681a..c97401f62 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -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)