Ticket #12923: mysql-last_executed_query.patch
File mysql-last_executed_query.patch, 507 bytes (added by , 15 years ago) |
---|
-
django/db/backends/mysql/base.py
224 224 second = '%s-12-31 23:59:59.99' 225 225 return [first % value, second % value] 226 226 227 def last_executed_query(self, cursor, sql, params): 228 return sql % cursor.connection.literal(params) 229 227 230 class DatabaseWrapper(BaseDatabaseWrapper): 228 231 229 232 operators = {