diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 5a3cb53..c680a75 100644
a
|
b
|
class BaseDatabaseWrapper(local):
|
40 | 40 | def _savepoint(self, sid): |
41 | 41 | if not self.features.uses_savepoints: |
42 | 42 | return |
43 | | self.connection.cursor().execute(self.ops.savepoint_create_sql(sid)) |
| 43 | self.cursor().execute(self.ops.savepoint_create_sql(sid)) |
44 | 44 | |
45 | 45 | def _savepoint_rollback(self, sid): |
46 | 46 | if not self.features.uses_savepoints: |
47 | 47 | return |
48 | | self.connection.cursor().execute(self.ops.savepoint_rollback_sql(sid)) |
| 48 | self.cursor().execute(self.ops.savepoint_rollback_sql(sid)) |
49 | 49 | |
50 | 50 | def _savepoint_commit(self, sid): |
51 | 51 | if not self.features.uses_savepoints: |
52 | 52 | return |
53 | | self.connection.cursor().execute(self.ops.savepoint_commit_sql(sid)) |
| 53 | self.cursor().execute(self.ops.savepoint_commit_sql(sid)) |
54 | 54 | |
55 | 55 | def close(self): |
56 | 56 | if self.connection is not None: |