From 7d9be18789184ae00bbb86f89d79328183033dbf Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 9 Feb 2011 14:34:18 +0000 Subject: [PATCH] added one comment --- lib/core/agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/agent.py b/lib/core/agent.py index f4370bc94..726549225 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -672,6 +672,7 @@ class Agent: limitedQuery = limitedQuery.replace("SELECT ", (limitStr % 1), 1) if uniqueField and " ORDER BY " not in fromFrom: + # Reference: http://vorg.ca/626-the-MS-SQL-equivalent-to-MySQLs-limit-command if " WHERE " in limitedQuery: limitedQuery = "%s AND %s " % (limitedQuery, uniqueField) else: