mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed DatabaseOperation.savepoint_create/rollback_sql() on Oracle.
Obsolete since 918f44e3ae.
This commit is contained in:
@@ -315,12 +315,6 @@ END;
|
|||||||
def return_insert_id(self):
|
def return_insert_id(self):
|
||||||
return "RETURNING %s INTO %%s", (InsertIdVar(),)
|
return "RETURNING %s INTO %%s", (InsertIdVar(),)
|
||||||
|
|
||||||
def savepoint_create_sql(self, sid):
|
|
||||||
return "SAVEPOINT " + self.quote_name(sid)
|
|
||||||
|
|
||||||
def savepoint_rollback_sql(self, sid):
|
|
||||||
return "ROLLBACK TO SAVEPOINT " + self.quote_name(sid)
|
|
||||||
|
|
||||||
def _foreign_key_constraints(self, table_name, recursive=False):
|
def _foreign_key_constraints(self, table_name, recursive=False):
|
||||||
with self.connection.cursor() as cursor:
|
with self.connection.cursor() as cursor:
|
||||||
if recursive:
|
if recursive:
|
||||||
|
|||||||
Reference in New Issue
Block a user