• evgen@moonbone.local's avatar
    Fix bug #14016 date_format() 2nd parameter was compared using case insensitive · 90cf3e78
    evgen@moonbone.local authored
    collation
    
    By default constant strings in second parameter of date_time() have case
    insensitive collation. Because of this expressions date_format(f,'%m') and 
    date_format(f,'%M') wrongly becomes equal, which results in choosing wrong 
    column to sort by.
    
    Now if second parameter of date_format() is constant then it's collation is 
    changed to case sensitive.
    90cf3e78
date_formats.result 19.6 KB