Django

Code

Show
Ignore:
Timestamp:
06/30/08 05:25:35 (5 months ago)
Author:
mtredinnick
Message:

Fixed #2170 -- "exact" lookups in MySQL are now case-sensitive (the same as other backends).

This is a backwards incompatible change if you were relying on 'exact' being
case-insensitive. For that, you should be using 'iexact'.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/db/backends/mysql/base.py

    r7790 r7798  
    136136    ops = DatabaseOperations() 
    137137    operators = { 
    138         'exact': '= %s', 
     138        'exact': '= BINARY %s', 
    139139        'iexact': 'LIKE %s', 
    140140        'contains': 'LIKE BINARY %s',