      def _rowfactory(self, row):
          # Cast numeric values as the appropriate Python type based upon the
          # cursor description, and convert strings to unicode.
          casted = []
          for value, desc in zip(row, self.description):
              if value is not None and desc[1] is Database.NUMBER:
                  precision, scale = desc[4:6]
                  if scale == -127:
                      if precision == 0:
                          # NUMBER column: decimal-precision floating point
 
</s> remove                       for r in Database.Cursor.fetchall(self)])
 </s> add                       for r in self.cursor.fetchall()]) </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             return Database.Cursor.executemany(self, query,
 </s> add             return self.cursor.executemany(query, </s> remove             return Database.Cursor.execute(self, query,
                                           self._param_generator(params))
 </s> add             return self.cursor.execute(query, self._param_generator(params))
        for value, desc in zip(row, self.cursor.description):
      def _rowfactory(self, row):
          # Cast numeric values as the appropriate Python type based upon the
          # cursor description, and convert strings to unicode.
          casted = []
        for value, desc in zip(row, self.cursor.description):
              if value is not None and desc[1] is Database.NUMBER:
                  precision, scale = desc[4:6]
                  if scale == -127:
                      if precision == 0:
                          # NUMBER column: decimal-precision floating point
keep keep keep keep replace 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