_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 moved to https://jira.percona.com/projects/PS
Fix Released
Undecided
Alexey Kopytov
5.1
Fix Released
Low
Alexey Kopytov
5.5
Fix Released
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

Revision history for this message
Alexey Kopytov (akopytov) wrote :

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

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2753

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

Other bug subscribers