mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
Updated cx_Oracle arraysize comment.
This commit is contained in:
parent
78619bcb0a
commit
eca6f91be2
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class FormatStylePlaceholderCursor:
|
||||||
self.cursor = connection.cursor()
|
self.cursor = connection.cursor()
|
||||||
# Necessary to retrieve decimal values without rounding error.
|
# Necessary to retrieve decimal values without rounding error.
|
||||||
self.cursor.numbersAsStrings = True
|
self.cursor.numbersAsStrings = True
|
||||||
# Default arraysize of 1 is highly sub-optimal.
|
# The default for cx_Oracle < 5.3 is 50.
|
||||||
self.cursor.arraysize = 100
|
self.cursor.arraysize = 100
|
||||||
|
|
||||||
def _format_params(self, params):
|
def _format_params(self, params):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue