Fix for a regression test #30 test case fail (Firebird inline)

This commit is contained in:
Miroslav Stampar 2013-01-21 10:12:54 +01:00
parent aebf2c1350
commit 3200134b3b

View File

@ -335,7 +335,7 @@ class Agent(object):
nulledCastedField = field nulledCastedField = field
else: else:
nulledCastedField = rootQuery.cast.query % field nulledCastedField = rootQuery.cast.query % field
if Backend.isDbms(DBMS.ACCESS): if Backend.getIdentifiedDbms() in (DBMS.ACCESS,):
nulledCastedField = rootQuery.isnull.query % (nulledCastedField, nulledCastedField) nulledCastedField = rootQuery.isnull.query % (nulledCastedField, nulledCastedField)
else: else:
nulledCastedField = rootQuery.isnull.query % nulledCastedField nulledCastedField = rootQuery.isnull.query % nulledCastedField