diff --git a/lib/core/agent.py b/lib/core/agent.py index d133a8485..b8c060335 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -335,7 +335,7 @@ class Agent(object): nulledCastedField = field else: nulledCastedField = rootQuery.cast.query % field - if Backend.isDbms(DBMS.ACCESS): + if Backend.getIdentifiedDbms() in (DBMS.ACCESS,): nulledCastedField = rootQuery.isnull.query % (nulledCastedField, nulledCastedField) else: nulledCastedField = rootQuery.isnull.query % nulledCastedField