Minor update for Issue #209

This commit is contained in:
Miroslav Stampar 2012-10-21 18:53:31 +02:00
parent 261b286021
commit fb1497aa89
4 changed files with 4 additions and 4 deletions

View File

@ -204,7 +204,7 @@ def __goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, cha
# (or similar depending on the back-end DBMS) can return
# multiple entries
if limitCond:
if limitRegExp:
if limitRegExp and stopLimit is not None:
stopLimit = int(stopLimit)
# From now on we need only the expression until the " LIMIT "

View File

@ -49,7 +49,7 @@ class Enumeration(GenericEnumeration):
return {}
def getDbs(self):
warnMsg = "on Microsoft Access it is not possible to enumerate databases"
warnMsg = "on Microsoft Access it is not possible to enumerate databases (use only '--tables')"
logger.warn(warnMsg)
return []

View File

@ -13,7 +13,7 @@ class Enumeration(GenericEnumeration):
GenericEnumeration.__init__(self)
def getDbs(self):
warnMsg = "on Firebird it is not possible to enumerate databases"
warnMsg = "on Firebird it is not possible to enumerate databases (use only '--tables')"
logger.warn(warnMsg)
return []

View File

@ -44,7 +44,7 @@ class Enumeration(GenericEnumeration):
return {}
def getDbs(self):
warnMsg = "on SQLite it is not possible to enumerate databases"
warnMsg = "on SQLite it is not possible to enumerate databases (use only '--tables')"
logger.warn(warnMsg)
return []