• gkodinov/kgeorge@magare.gmz's avatar
    Bug #28687: Search fails on '0000-00-00' date after sql_mode change · 52b35112
    gkodinov/kgeorge@magare.gmz authored
    When doing indexed search the server constructs a key image for 
    faster comparison to the stored keys. While doing that it must not
    perform (and stop if they fail) the additional date checks that can 
    be turned on by the SQL mode because there already may be values in 
    the table that don't comply with the error checks.
    Fixed by ignoring these SQL mode bits while making the key image.
    52b35112
item.cc 187 KB