• unknown's avatar
    Fix false Valgrind warning. · e3ddf925
    unknown authored
    On some compiler/platform combination, an assignment of form *p= *p
    would map to a memcpy() call, and Valgrind flags this as an overlapped
    memcpy() error.
    
    Fix by prefixing *p= *q with if(p!=q) when building for Valgrind
    (HAVE_purify).
    
    
    sql/sql_select.cc:
      Fix false valgrind warning.
    e3ddf925
sql_select.cc 492 KB