From 0c01be0eeb39880a7c68616eb4b3ffdcd8348bf4 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Thu, 9 Dec 2010 00:34:02 +0000 Subject: [PATCH] Ugly work-around to avoid unescaping WAITFOR DELAY time between single quotes (unescaped CHAR(..) value does not work). --- lib/controller/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index b75071114..7ed348c49 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -69,7 +69,7 @@ def unescape(string, dbms): "Sybase": Sybase.unescape } - if dbms in unescaper: + if dbms in unescaper and "WAITFOR DELAY " not in string: return unescaper[dbms](string) else: return string