Permalink
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...
1 parent 058c526 commit caef61945ded51a7a3955e3089cc071de99b8942 @adrianholovaty adrianholovaty committed Jul 16, 2005
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/core/db/backends/mysql.py
View
5 django/core/db/backends/mysql.py
@@ -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:

0 comments on commit caef619

Please sign in to comment.