Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5225375

Browse files
committed
proper fix
1 parent d2d3878 commit 5225375

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/dbms/db2/syntax.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def __init__(self):
1515

1616
@staticmethod
1717
def unescape(expression, quote=True):
18-
if expression == "'":
19-
return expression
18+
if expression == u"'''":
19+
return "CHR(%d)" % (ord("'"))
2020

2121
if quote:
2222
while True:

0 commit comments

Comments
 (0)