minor update

This commit is contained in:
Miroslav Stampar 2012-01-30 13:32:52 +00:00
parent d8c343a88a
commit 91ebadff75

View File

@ -34,6 +34,7 @@ class Syntax(GenericSyntax):
unescaped = ""
for i in xrange(firstIndex, lastIndex):
# Postgres CHR() function already accepts Unicode code point of character(s)
unescaped += "CHR(%d)" % (ord(expression[i]))
if i < lastIndex - 1:
unescaped += "||"