Minor fixes

This commit is contained in:
Miroslav Stampar 2013-02-15 14:21:51 +01:00
parent 345d10a9e0
commit b1c0cabde5

View File

@ -263,7 +263,7 @@ class Search:
else:
for db in conf.db.split(","):
if db not in foundTbls:
foundTbls[db] = []
foundTbls[safeSQLIdentificatorNaming(db)] = []
else:
dbName = "SQLite" if Backend.isDbms(DBMS.SQLITE) else "Firebird"
foundTbls["%s%s" % (dbName, METADB_SUFFIX)] = []
@ -289,7 +289,7 @@ class Search:
if tblConsider == "1":
warnMsg += "s like"
warnMsg += " '%s' " % unsafeSQLIdentificatorNaming(tbl)
warnMsg += "in database '%s'" % db
warnMsg += "in database '%s'" % unsafeSQLIdentificatorNaming(db)
logger.warn(warnMsg)
continue