magic-removal: Fixed bug in mysql backend with DEBUG=True

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-01-17 17:45:40 +00:00
parent 05c3097f0f
commit f1cf65c7bc
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class DatabaseWrapper:
if self.connection.get_server_info() >= '4.1':
cursor.execute("SET NAMES utf8")
if settings.DEBUG:
return base.CursorDebugWrapper(MysqlDebugWrapper(cursor), self)
return util.CursorDebugWrapper(MysqlDebugWrapper(cursor), self)
return cursor
def commit(self):