Quick patch for #2498

This commit is contained in:
Miroslav Stampar
2017-04-21 17:44:51 +02:00
parent 1c5f01e2a2
commit 4643bd6517
4 changed files with 6 additions and 6 deletions

View File

@@ -452,7 +452,7 @@ class Agent(object):
@rtype: C{str}
"""
if not Backend.getDbms():
if not Backend.getIdentifiedDbms():
return fields
if fields.startswith("(CASE") or fields.startswith("(IIF") or fields.startswith("SUBSTR") or fields.startswith("MID(") or re.search(r"\A'[^']+'\Z", fields):