diff --git a/plugins/generic/databases.py b/plugins/generic/databases.py index 7d5151263..7ced5bc41 100644 --- a/plugins/generic/databases.py +++ b/plugins/generic/databases.py @@ -772,6 +772,9 @@ class Databases: return kb.data.cachedColumns def _tableGetCount(self, db, table): + if not db or not table: + return None + if Backend.getIdentifiedDbms() in (DBMS.ORACLE, DBMS.DB2): db = db.upper() table = table.upper()