Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 345d10a commit b1c0cabCopy full SHA for b1c0cab
1 file changed
plugins/generic/search.py
@@ -263,7 +263,7 @@ def searchTable(self):
263
else:
264
for db in conf.db.split(","):
265
if db not in foundTbls:
266
- foundTbls[db] = []
+ foundTbls[safeSQLIdentificatorNaming(db)] = []
267
268
dbName = "SQLite" if Backend.isDbms(DBMS.SQLITE) else "Firebird"
269
foundTbls["%s%s" % (dbName, METADB_SUFFIX)] = []
@@ -289,7 +289,7 @@ def searchTable(self):
289
if tblConsider == "1":
290
warnMsg += "s like"
291
warnMsg += " '%s' " % unsafeSQLIdentificatorNaming(tbl)
292
- warnMsg += "in database '%s'" % db
+ warnMsg += "in database '%s'" % unsafeSQLIdentificatorNaming(db)
293
logger.warn(warnMsg)
294
295
continue
0 commit comments