From d5e52f2befe8400817b23ecdbeb0ee28271ccf9d Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Sun, 4 Nov 2018 23:21:59 +0000 Subject: [PATCH] Removed DatabaseOperation.savepoint_create/rollback_sql() on Oracle. Obsolete since 918f44e3ae650ff124067425d31c9d3deeba2224. --- django/db/backends/oracle/operations.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/django/db/backends/oracle/operations.py b/django/db/backends/oracle/operations.py index dcbcb5e47f..16955630bf 100644 --- a/django/db/backends/oracle/operations.py +++ b/django/db/backends/oracle/operations.py @@ -315,12 +315,6 @@ END; def return_insert_id(self): 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): with self.connection.cursor() as cursor: if recursive: