this also happens with 5.5.32, linux debian 6 and pgi 2012.
"/devel/Percona-Server-5.5.32-rel31.0/sql/query_response_time.cc", line 161: error:
argument of type "const pthread_mutex_t *" is incompatible with
parameter of type "pthread_mutex_t *"
my_atomic_rwlock_rdlock(&time_collector_lock);
^
"/devel/Percona-Server-5.5.32-rel31.0/sql/query_response_time.cc", line 163: error:
argument of type "const pthread_mutex_t *" is incompatible with
parameter of type "pthread_mutex_t *"
my_atomic_rwlock_rdunlock(&time_collector_lock);
^
"/devel/Percona-Server-5.5.32-rel31.0/sql/query_response_time.cc", line 168: error:
argument of type "const pthread_mutex_t *" is incompatible with
parameter of type "pthread_mutex_t *"
my_atomic_rwlock_rdlock(&time_collector_lock);
^
"/devel/Percona-Server-5.5.32-rel31.0/sql/query_response_time.cc", line 170: error:
argument of type "const pthread_mutex_t *" is incompatible with
parameter of type "pthread_mutex_t *"
my_atomic_rwlock_rdunlock(&time_collector_lock);
^
4 errors detected in the compilation of "/devel/Percona-Server-5.5.32-rel31.0/sql/query_response_time.cc".
this also happens with 5.5.32, linux debian 6 and pgi 2012.
"/devel/ Percona- Server- 5.5.32- rel31.0/ sql/query_ response_ time.cc" , line 161: error: atomic_ rwlock_ rdlock( &time_collector _lock);
argument of type "const pthread_mutex_t *" is incompatible with
parameter of type "pthread_mutex_t *"
my_
^
"/devel/ Percona- Server- 5.5.32- rel31.0/ sql/query_ response_ time.cc" , line 163: error: atomic_ rwlock_ rdunlock( &time_collector _lock);
argument of type "const pthread_mutex_t *" is incompatible with
parameter of type "pthread_mutex_t *"
my_
^
"/devel/ Percona- Server- 5.5.32- rel31.0/ sql/query_ response_ time.cc" , line 168: error: atomic_ rwlock_ rdlock( &time_collector _lock);
argument of type "const pthread_mutex_t *" is incompatible with
parameter of type "pthread_mutex_t *"
my_
^
"/devel/ Percona- Server- 5.5.32- rel31.0/ sql/query_ response_ time.cc" , line 170: error: atomic_ rwlock_ rdunlock( &time_collector _lock);
argument of type "const pthread_mutex_t *" is incompatible with
parameter of type "pthread_mutex_t *"
my_
^
4 errors detected in the compilation of "/devel/ Percona- Server- 5.5.32- rel31.0/ sql/query_ response_ time.cc" .