[1.0.X] Fixed #10224: Don't attempt to decode binary string data in the Oracle backend. Backport of [9821] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b0fd405c28
commit
c283875389
|
@ -444,7 +444,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)
|
||||
|
|
Loading…
Reference in New Issue