Unverified Kaydet (Commit) 52fec5d1 authored tarafından Mariusz Felisiak's avatar Mariusz Felisiak Kaydeden (comit) GitHub

Fixed #29836 -- Bumped required cx_Oracle to 6.0.

üst 1b49b792
...@@ -390,8 +390,6 @@ class FormatStylePlaceholderCursor: ...@@ -390,8 +390,6 @@ class FormatStylePlaceholderCursor:
def __init__(self, connection): def __init__(self, connection):
self.cursor = connection.cursor() self.cursor = connection.cursor()
self.cursor.outputtypehandler = self._output_type_handler self.cursor.outputtypehandler = self._output_type_handler
# The default for cx_Oracle < 5.3 is 50.
self.cursor.arraysize = 100
@staticmethod @staticmethod
def _output_number_converter(value): def _output_number_converter(value):
......
...@@ -731,7 +731,7 @@ Oracle notes ...@@ -731,7 +731,7 @@ Oracle notes
============ ============
Django supports `Oracle Database Server`_ versions 12.1 and higher. Version Django supports `Oracle Database Server`_ versions 12.1 and higher. Version
5.2 or higher of the `cx_Oracle`_ Python driver is required. 6.0 or higher of the `cx_Oracle`_ Python driver is required.
.. _`Oracle Database Server`: https://www.oracle.com/ .. _`Oracle Database Server`: https://www.oracle.com/
.. _`cx_Oracle`: https://oracle.github.io/python-cx_Oracle/ .. _`cx_Oracle`: https://oracle.github.io/python-cx_Oracle/
......
...@@ -302,6 +302,8 @@ Miscellaneous ...@@ -302,6 +302,8 @@ Miscellaneous
of a bytestring, and :func:`django.utils.http.urlsafe_base64_decode` may no of a bytestring, and :func:`django.utils.http.urlsafe_base64_decode` may no
longer be passed a bytestring. longer be passed a bytestring.
* Support for ``cx_Oracle`` < 6.0 is removed.
.. _deprecated-features-2.2: .. _deprecated-features-2.2:
Features deprecated in 2.2 Features deprecated in 2.2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment