Removed Oracle's fetchmany() and fetchall() wrappers.

Follow up to e06cab2600.
This commit is contained in:
Sergey Fedoseev 2018-07-11 00:03:09 +05:00 committed by Tim Graham
parent 08ebed5e79
commit 6fbfb5cb96
2 changed files with 0 additions and 9 deletions

View File

@ -527,14 +527,6 @@ class FormatStylePlaceholderCursor:
self._guess_input_sizes(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):
try:
self.cursor.close()

View File

@ -3,7 +3,6 @@ from django.db.utils import InterfaceError
class DatabaseFeatures(BaseDatabaseFeatures):
empty_fetchmany_value = ()
interprets_empty_strings_as_nulls = True
uses_savepoints = True
has_select_for_update = True