minor update

This commit is contained in:
Miroslav Stampar
2010-11-02 12:08:28 +00:00
parent 685a8e7d2c
commit 70f6eab715
9 changed files with 27 additions and 26 deletions

View File

@@ -528,7 +528,7 @@ class Agent:
fromFrom = limitedQuery[fromIndex+1:]
orderBy = False
if kb.dbms in ( "MySQL", "PostgreSQL", "SQLite" ):
if kb.dbms in ( DBMS.MYSQL, DBMS.POSTGRESQL, DBMS.SQLITE ):
limitStr = queries[kb.dbms].limit.query % (num, 1)
limitedQuery += " %s" % limitStr