              casted.append(value)
          return tuple(casted)
  
  
  def to_unicode(s):
      """
      Convert strings to Unicode objects (and return all other data types
      unchanged).
      """
 
</s> remove                       for r in Database.Cursor.fetchall(self)])
 </s> add                       for r in self.cursor.fetchall()]) </s> remove         row = Database.Cursor.fetchone(self)
 </s> add         row = self.cursor.fetchone() </s> remove         # Necessary to retrieve decimal values without rounding error.
        cursor.numbersAsStrings = True
        # Default arraysize of 1 is highly sub-optimal.
        cursor.arraysize = 100
 </s> add  </s> remove                       for r in Database.Cursor.fetchmany(self, size)])
 </s> add                       for r in self.cursor.fetchmany(size)])
    def __getattr__(self, attr):
        if attr in self.__dict__:
            return self.__dict__[attr]
        else:
            return getattr(self.cursor, attr)

    def __iter__(self):
        return iter(self.cursor)

              casted.append(value)
          return tuple(casted)
  
    def __getattr__(self, attr):
        if attr in self.__dict__:
            return self.__dict__[attr]
        else:
            return getattr(self.cursor, attr)

    def __iter__(self):
        return iter(self.cursor)

  
  def to_unicode(s):
      """
      Convert strings to Unicode objects (and return all other data types
      unchanged).
      """
keep keep add keep keep keep keep keep keep
 Fixed #5543: callproc() and friends now work with Oracle and our FormatStylePlaceholderCursor.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9767 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/db/backends/oracle/base.py