From 0c29311eb2efd1c1d2f84492d51afd7cdc95b04e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 23 Oct 2011 22:24:57 +0000 Subject: [PATCH] minor update --- lib/core/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/agent.py b/lib/core/agent.py index a832494cc..66616c3dc 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -331,7 +331,7 @@ class Agent: if not Backend.getDbms(): return fields - if fields.startswith("(CASE") or fields.startswith("(IIF") or fields.startswith("SUBSTR") or fields.startswith("MID("): + if fields.startswith("(CASE") or fields.startswith("(IIF") or fields.startswith("SUBSTR") or fields.startswith("MID(") or re.search(r"\A'[^']+'\Z", fields): nulledCastedConcatFields = fields else: fields = fields.replace(", ", ",")