same fix as previous commit for blind techniques

This commit is contained in:
Bernardo Damele 2012-07-20 22:35:20 +01:00
parent b54ae107cc
commit 7f10b01265

View File

@ -464,12 +464,17 @@ class Search:
if db not in foundCols[column]: if db not in foundCols[column]:
foundCols[column][db] = [] foundCols[column][db] = []
origDb = conf.db
origTbl = conf.tbl
for column, dbData in foundCols.items(): for column, dbData in foundCols.items():
colQuery = "%s%s" % (colCond, colCondParam) colQuery = "%s%s" % (colCond, colCondParam)
colQuery = colQuery % column colQuery = colQuery % column
for db in dbData: for db in dbData:
db = safeSQLIdentificatorNaming(db) db = safeSQLIdentificatorNaming(db)
conf.db = origDb
conf.tbl = origTbl
infoMsg = "fetching number of tables containing column" infoMsg = "fetching number of tables containing column"
if colConsider == "1": if colConsider == "1":