From 6fbfb5cb9602574adc867d34241172226291d367 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Wed, 11 Jul 2018 00:03:09 +0500 Subject: [PATCH] Removed Oracle's fetchmany() and fetchall() wrappers. Follow up to e06cab260049bb58eafdc4f60ac50a5f3759c38c. --- django/db/backends/oracle/base.py | 8 -------- django/db/backends/oracle/features.py | 1 - 2 files changed, 9 deletions(-) diff --git a/django/db/backends/oracle/base.py b/django/db/backends/oracle/base.py index 1f46b60b24..0c64d995b4 100644 --- a/django/db/backends/oracle/base.py +++ b/django/db/backends/oracle/base.py @@ -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() diff --git a/django/db/backends/oracle/features.py b/django/db/backends/oracle/features.py index cb2fa7d558..41a78f165f 100644 --- a/django/db/backends/oracle/features.py +++ b/django/db/backends/oracle/features.py @@ -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