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:
parent
05c3097f0f
commit
f1cf65c7bc
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue