Hi, Sanja! On Feb 08, sanja@askmonty.org wrote:
------------------------------------------------------------ revno: 4056 revision-id: sanja@askmonty.org-20140208132448-qdkkpdncnya0tr6j parent: elenst@wheezy-64.home-20140205102537-7ern5gfca6a6ojg3 committer: sanja@askmonty.org branch nick: work-maria-5.5-MDEV-5607 timestamp: Sat 2014-02-08 15:24:48 +0200 message: MDEV-5607: Query cache destroys uninitialized rwlock
- Resize destroyed rw_lock twice, now it is prevented. - Trash destroyed rw lock.
=== modified file 'include/mysql/psi/mysql_thread.h' --- a/include/mysql/psi/mysql_thread.h 2013-01-11 00:03:43 +0000 +++ b/include/mysql/psi/mysql_thread.h 2014-02-08 13:24:48 +0000 @@ -16,6 +16,8 @@ #ifndef MYSQL_THREAD_H #define MYSQL_THREAD_H
+#include <my_valgrind.h>
This is not ok. Files under include/mysql/ are Plugin API files, they should be clean from internal includes. You cannot include my_valgrind.h from there. Do it in my_pthread.h Regards, Sergei