Ticket #2170: 2170-1.diff

File 2170-1.diff, 858 bytes (added by Matt McClanahan <cardinal@…>, 8 years ago)
  • django/db/backends/mysql_old/base.py

     
    225225    return []
    226226
    227227OPERATOR_MAPPING = {
    228     'exact': '= %s',
     228    'exact': '= BINARY %s',
    229229    'iexact': 'LIKE %s',
    230230    'contains': 'LIKE BINARY %s',
    231231    'icontains': 'LIKE %s',
  • django/db/backends/mysql/base.py

     
    224224    return []
    225225
    226226OPERATOR_MAPPING = {
    227     'exact': '= %s',
     227    'exact': '= BINARY %s',
    228228    'iexact': 'LIKE %s',
    229229    'contains': 'LIKE BINARY %s',
    230230    'icontains': 'LIKE %s',
Back to Top