This commit is contained in:
jhdxr 2014-10-07 14:48:57 +08:00
parent 2de12ef4a2
commit c2159dbf93

View File

@ -2810,7 +2810,7 @@ def decodeIntToUnicode(value):
if isinstance(value, int):
try:
# http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_ord
if Backend.getIdentifiedDbms() in (DBMS.MYSQL,):
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.ORACLE,):
_ = "%x" % value
if len(_) % 2 == 1:
_ = "0%s" % _