From b1c0cabde552455a5e266ff48d2dda2834db5c87 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 15 Feb 2013 14:21:51 +0100 Subject: [PATCH] Minor fixes --- plugins/generic/search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/generic/search.py b/plugins/generic/search.py index 72e5a8944..f4c47ba91 100644 --- a/plugins/generic/search.py +++ b/plugins/generic/search.py @@ -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