1
0
mirror of https://github.com/django/django.git synced 2025-10-27 23:56:08 +00:00

Fixed #24200 -- Made introspection bypass statement cache

This commit is contained in:
Josh Smeaton
2015-02-10 10:54:51 +11:00
committed by Shai Berger
parent 1b8af4cfa0
commit 1fbe8a2de3
4 changed files with 10 additions and 5 deletions

View File

@@ -87,9 +87,6 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
self.remove_field(model, old_field)
# Rename the new field
self.alter_field(model, new_temp_field, new_field)
# Close the connection to force cx_Oracle to get column types right
# on a new cursor
self.connection.close()
def normalize_name(self, name):
"""