1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed #21207 -- Fixed test failure on Oracle: test_cursor_contextmanager

refs #17671
This commit is contained in:
Tim Graham 2013-10-01 12:34:19 -04:00
parent 8d4b1629d4
commit 0d02c54299

View File

@ -59,6 +59,7 @@ from django.db.backends.oracle.client import DatabaseClient
from django.db.backends.oracle.creation import DatabaseCreation
from django.db.backends.oracle.introspection import DatabaseIntrospection
from django.db.backends.oracle.schema import DatabaseSchemaEditor
from django.db.utils import InterfaceError
from django.utils import six, timezone
from django.utils.encoding import force_bytes, force_text
from django.utils.functional import cached_property
@ -103,6 +104,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
requires_literal_defaults = True
connection_persists_old_columns = True
nulls_order_largest = True
closed_cursor_error_class = InterfaceError
class DatabaseOperations(BaseDatabaseOperations):