Ticket #14091: mysql_lastexecuted.diff
File mysql_lastexecuted.diff, 685 bytes (added by , 14 years ago) |
---|
-
django/db/backends/mysql/base.py
164 164 def fulltext_search_sql(self, field_name): 165 165 return 'MATCH (%s) AGAINST (%%s IN BOOLEAN MODE)' % field_name 166 166 167 def last_executed_query(self, cursor, sql, params): 168 return (cursor.cursor._executed or 169 super(DatabaseOperations, self).last_executed_query(cursor, sql, params)) 170 167 171 def no_limit_value(self): 168 172 # 2**64 - 1, as recommended by the MySQL documentation 169 173 return 18446744073709551615L