mirror of
https://github.com/MariaDB/server.git
synced 2025-11-21 06:21:35 +03:00
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).
492 KiB
492 KiB