Skip to content

Commit 7d78460

Browse files
committed
empty _set_autocommit()
1 parent c045b62 commit 7d78460

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

django_mongodb_backend/base.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,7 @@ def _start_transaction_under_autocommit(self):
224224
self._start_session()
225225

226226
def _set_autocommit(self, autocommit, force_begin_transaction_with_broken_autocommit=False):
227-
if self.features.supports_transactions:
228-
return
229-
if not autocommit:
230-
self._start_session()
227+
pass
231228

232229
def _close(self):
233230
# Normally called by close(), this method is also called by some tests.

0 commit comments

Comments
 (0)