mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Do not raise otherwise it won't work with --schema
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user