Hi, Sanja!

On Feb 08, [email protected] wrote:
> ------------------------------------------------------------
> revno: 4056
> revision-id: [email protected]
> parent: [email protected]
> committer: [email protected]
> 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

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to