Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #10224: Don't attempt to decode binary string data in the Oracl…

…e backend.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e9af96de1edac106ad30994865a0ee2233bed984 1 parent f0a7470
Ian Kelly authored February 11, 2009

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  django/db/backends/oracle/base.py
3  django/db/backends/oracle/base.py
@@ -450,7 +450,8 @@ def _rowfactory(self, row):
450 450
                     value = Decimal(value)
451 451
                 else:
452 452
                     value = int(value)
453  
-            else:
  453
+            elif desc[1] in (Database.STRING, Database.FIXED_CHAR,
  454
+                             Database.LONG_STRING):
454 455
                 value = to_unicode(value)
455 456
             casted.append(value)
456 457
         return tuple(casted)

0 notes on commit e9af96d

Please sign in to comment.
Something went wrong with that request. Please try again.