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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-07-16 21:10:25 +00:00
parent 058c526ef9
commit caef61945d
1 changed files with 3 additions and 2 deletions

View File

@ -35,10 +35,11 @@ class DatabaseWrapper:
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: