← Back to team overview

percona-discussion team mailing list archive

[Bug 317582] [NEW] warning during compilation. passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type.

 

Public bug reported:

buf/buf0buf.c: In function ‘buf_page_get_gen’:
buf/buf0buf.c:1885: warning: passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type
buf/buf0buf.c:1914: warning: passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type
buf/buf0buf.c:1983: warning: passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type
buf/buf0buf.c:2004: warning: passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type

Solution: block should be changed to &block->page

** Affects: percona-xtradb
     Importance: Undecided
         Status: New

-- 
warning during compilation. passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type.
https://bugs.launchpad.net/bugs/317582
You received this bug notification because you are a member of Percona
developers, which is the registrant for Percona-XtraDB.

Status in Percona XtraDB Storage Engine for MySQL: New

Bug description:
buf/buf0buf.c: In function ‘buf_page_get_gen’:
buf/buf0buf.c:1885: warning: passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type
buf/buf0buf.c:1914: warning: passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type
buf/buf0buf.c:1983: warning: passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type
buf/buf0buf.c:2004: warning: passing argument 1 of ‘buf_page_get_mutex’ from incompatible pointer type

Solution: block should be changed to &block->page



Follow ups

References