Ugly work-around to avoid unescaping WAITFOR DELAY time between single quotes (unescaped CHAR(..) value does not work).

This commit is contained in:
Bernardo Damele 2010-12-09 00:34:02 +00:00
parent 9c61adb21d
commit 0c01be0eeb

View File

@ -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