Skip to content

Commit

Permalink
[1.0.X] Fixed #10224: Don't attempt to decode binary string data in t…
Browse files Browse the repository at this point in the history
…he 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
  • Loading branch information
nightflyerkilo committed Feb 11, 2009
1 parent b0fd405 commit c283875
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django/db/backends/oracle/base.py
Expand Up @@ -444,7 +444,8 @@ def _rowfactory(self, row):
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)
Expand Down

0 comments on commit c283875

Please sign in to comment.