_increment_page_get_statistics should be "static inline"

Bug #997496 reported by Alexey Kopytov on 2012-05-10
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server
Undecided
Alexey Kopytov
5.1
Low
Alexey Kopytov
5.5
Undecided
Alexey Kopytov

Bug Description

_increment_page_get_statistics() is defined as the inline function without the static keyword. That causes incompatibility with the Clang compiler which provides different inline semantics, see http://clang.llvm.org/compatibility.html#inline

The fix is to change _increment_page_get_statistics() to a static inline function.

Related branches

lp:~akopytov/percona-server/bug997496-5.5
Laurynas Biveinis: Approve on 2012-05-10
lp:~akopytov/percona-server/bug997496-5.1
Laurynas Biveinis: Approve on 2012-05-10
Alexey Kopytov (akopytov) wrote :

Not merged to 5.5 yet, so should be Fix Committed according to our usage of bug statuses.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers