Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #39 -- Thanks for the research, deelan!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit caef61945ded51a7a3955e3089cc071de99b8942 1 parent 058c526
Adrian Holovaty adrianholovaty authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/core/db/backends/mysql.py
5 django/core/db/backends/mysql.py
View
@@ -35,10 +35,11 @@ def cursor(self):
return self.connection.cursor()
def commit(self):
- pass
+ self.connection.commit()
def rollback(self):
- pass
+ if self.connection:
+ self.connection.rollback()
def close(self):
if self.connection is not None:
Please sign in to comment.
Something went wrong with that request. Please try again.