From f1cf65c7bc4e9f7e57ba6d3eb9fb0dc4d5e12569 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 17 Jan 2006 17:45:40 +0000 Subject: [PATCH] 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 --- django/db/backends/mysql/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index 0fd5565223..c4cd36606b 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -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):