Do not raise otherwise it won't work with --schema

This commit is contained in:
Bernardo Damele 2011-04-30 23:20:16 +00:00
parent 41fc9f9d54
commit 64bb480414

View File

@ -1130,7 +1130,9 @@ class Enumeration:
errMsg = "unable to retrieve the number of columns "
errMsg += "for table '%s' " % tbl
errMsg += "on database '%s'" % conf.db
raise sqlmapNoneDataException, errMsg
logger.error(errMsg)
continue
table = {}
columns = {}
@ -1194,7 +1196,7 @@ class Enumeration:
if not kb.data.cachedColumns:
errMsg = "unable to retrieve the columns for any "
errMsg += "table on database '%s'" % conf.db
raise sqlmapNoneDataException, errMsg
logger.error(errMsg)
return kb.data.cachedColumns