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 7ba0da6 commit 87ad96bCopy full SHA for 87ad96b
1 file changed
plugins/generic/search.py
@@ -318,6 +318,10 @@ def searchTable(self):
318
foundTbl = safeSQLIdentificatorNaming(foundTbl, True)
319
foundTbls[db].append(foundTbl)
320
321
+ for db in foundTbls.keys():
322
+ if not foundTbls[db]:
323
+ del foundTbls[db]
324
+
325
if not foundTbls:
326
warnMsg = "no databases contain any of the provided tables"
327
logger.warn(warnMsg)
0 commit comments