minor fix

This commit is contained in:
Miroslav Stampar 2011-01-13 15:19:37 +00:00
parent b0fdbdb13b
commit d937e27b19

View File

@ -64,7 +64,7 @@ def unionUse(expression, direct=False, unescape=True, resetCounter=False, nullCh
# entry per time # entry per time
# NOTE: I assume that only queries that get data from a table can # NOTE: I assume that only queries that get data from a table can
# return multiple entries # return multiple entries
if " FROM " in expression and "EXISTS(" not in expression: if " FROM " in expression and "EXISTS(" not in expression and kb.dbms:
limitRegExp = re.search(queries[kb.dbms].limitregexp.query, expression, re.I) limitRegExp = re.search(queries[kb.dbms].limitregexp.query, expression, re.I)
if limitRegExp: if limitRegExp: