reverting that ignoreTimeout for --tables (because of this and that)

This commit is contained in:
Miroslav Stampar 2011-05-22 09:59:19 +00:00
parent 9b2623514a
commit 7b52bbe3fb

View File

@ -804,10 +804,6 @@ class Enumeration:
infoMsg += "%s: %s" % ("s" if len(dbs) > 1 else "", ", ".join(db for db in dbs))
logger.info(infoMsg)
pushValue(kb.ignoreTimeout)
# some DBMSes (like MySQL) have (permission related) timeout issues when retrieving table names
kb.ignoreTimeout = True
rootQuery = queries[Backend.getIdentifiedDbms()].tables
if isTechniqueAvailable(PAYLOAD.TECHNIQUE.UNION) or isTechniqueAvailable(PAYLOAD.TECHNIQUE.ERROR) or conf.direct:
@ -905,8 +901,6 @@ class Enumeration:
warnMsg += "for database '%s'" % db
logger.warn(warnMsg)
kb.ignoreTimeout = popValue()
if isNoneValue(kb.data.cachedTables):
kb.data.cachedTables.clear()