Kaydet (Commit) e9af96de authored tarafından Ian Kelly's avatar Ian Kelly

Fixed #10224: Don't attempt to decode binary string data in the Oracle backend.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst f0a7470e
......@@ -450,7 +450,8 @@ class FormatStylePlaceholderCursor(object):
value = Decimal(value)
else:
value = int(value)
else:
elif desc[1] in (Database.STRING, Database.FIXED_CHAR,
Database.LONG_STRING):
value = to_unicode(value)
casted.append(value)
return tuple(casted)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment