Index: django/db/backends/mysql/base.py
===================================================================
--- django/db/backends/mysql/base.py	(revision 13563)
+++ django/db/backends/mysql/base.py	(working copy)
@@ -164,6 +164,10 @@
     def fulltext_search_sql(self, field_name):
         return 'MATCH (%s) AGAINST (%%s IN BOOLEAN MODE)' % field_name
 
+    def last_executed_query(self, cursor, sql, params):
+        return (cursor.cursor._executed or 
+                super(DatabaseOperations, self).last_executed_query(cursor, sql, params))
+
     def no_limit_value(self):
         # 2**64 - 1, as recommended by the MySQL documentation
         return 18446744073709551615L
