Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored July 16, 2005

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  django/core/db/backends/mysql.py
5  django/core/db/backends/mysql.py
@@ -35,10 +35,11 @@ def cursor(self):
35 35
         return self.connection.cursor()
36 36
 
37 37
     def commit(self):
38  
-        pass
  38
+        self.connection.commit()
39 39
 
40 40
     def rollback(self):
41  
-        pass
  41
+        if self.connection:
  42
+            self.connection.rollback()
42 43
 
43 44
     def close(self):
44 45
         if self.connection is not None:

0 notes on commit caef619

Please sign in to comment.
Something went wrong with that request. Please try again.