Removed Oracle's fetchmany() and fetchall() wrappers.
Follow up to e06cab2600
.
This commit is contained in:
parent
08ebed5e79
commit
6fbfb5cb96
|
@ -527,14 +527,6 @@ class FormatStylePlaceholderCursor:
|
||||||
self._guess_input_sizes(formatted)
|
self._guess_input_sizes(formatted)
|
||||||
return self.cursor.executemany(query, [self._param_generator(p) for p in formatted])
|
return self.cursor.executemany(query, [self._param_generator(p) for p in formatted])
|
||||||
|
|
||||||
def fetchmany(self, size=None):
|
|
||||||
if size is None:
|
|
||||||
size = self.arraysize
|
|
||||||
return tuple(self.cursor.fetchmany(size))
|
|
||||||
|
|
||||||
def fetchall(self):
|
|
||||||
return tuple(self.cursor.fetchall())
|
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
try:
|
try:
|
||||||
self.cursor.close()
|
self.cursor.close()
|
||||||
|
|
|
@ -3,7 +3,6 @@ from django.db.utils import InterfaceError
|
||||||
|
|
||||||
|
|
||||||
class DatabaseFeatures(BaseDatabaseFeatures):
|
class DatabaseFeatures(BaseDatabaseFeatures):
|
||||||
empty_fetchmany_value = ()
|
|
||||||
interprets_empty_strings_as_nulls = True
|
interprets_empty_strings_as_nulls = True
|
||||||
uses_savepoints = True
|
uses_savepoints = True
|
||||||
has_select_for_update = True
|
has_select_for_update = True
|
||||||
|
|
Loading…
Reference in New Issue