File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ bool flag_statements_digest= true;
47
47
Current index in Stat array where new record is to be inserted.
48
48
index 0 is reserved for "all else" case when entire array is full.
49
49
*/
50
- volatile uint32 digest_index;
50
+ PFS_ALIGNED volatile uint32 digest_index;
51
51
bool digest_full= false ;
52
52
53
53
LF_HASH digest_hash;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ bool flag_events_stages_history_long= false;
41
41
/* * True if EVENTS_STAGES_HISTORY_LONG circular buffer is full. */
42
42
bool events_stages_history_long_full= false ;
43
43
/* * Index in EVENTS_STAGES_HISTORY_LONG circular buffer. */
44
- volatile uint32 events_stages_history_long_index= 0 ;
44
+ PFS_ALIGNED volatile uint32 events_stages_history_long_index= 0 ;
45
45
/* * EVENTS_STAGES_HISTORY_LONG circular buffer. */
46
46
PFS_events_stages *events_stages_history_long_array= NULL ;
47
47
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ bool flag_events_statements_history_long= false;
41
41
/* * True if EVENTS_STATEMENTS_HISTORY_LONG circular buffer is full. */
42
42
bool events_statements_history_long_full= false ;
43
43
/* * Index in EVENTS_STATEMENTS_HISTORY_LONG circular buffer. */
44
- volatile uint32 events_statements_history_long_index= 0 ;
44
+ PFS_ALIGNED volatile uint32 events_statements_history_long_index= 0 ;
45
45
/* * EVENTS_STATEMENTS_HISTORY_LONG circular buffer. */
46
46
PFS_events_statements *events_statements_history_long_array= NULL ;
47
47
static unsigned char *h_long_stmts_digest_token_array= NULL ;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ bool flag_thread_instrumentation= false;
45
45
/* * True if EVENTS_WAITS_HISTORY_LONG circular buffer is full. */
46
46
bool events_waits_history_long_full= false ;
47
47
/* * Index in EVENTS_WAITS_HISTORY_LONG circular buffer. */
48
- volatile uint32 events_waits_history_long_index= 0 ;
48
+ PFS_ALIGNED volatile uint32 events_waits_history_long_index= 0 ;
49
49
/* * EVENTS_WAITS_HISTORY_LONG circular buffer. */
50
50
PFS_events_waits *events_waits_history_long_array= NULL ;
51
51
Original file line number Diff line number Diff line change 21
21
Performance schema internal locks (declarations).
22
22
*/
23
23
24
+ #include "pfs_global.h"
24
25
#include "pfs_atomic.h"
25
26
26
27
/**
@@ -79,7 +80,7 @@ struct pfs_lock
79
80
The version number is stored in the high 30 bits.
80
81
The state is stored in the low 2 bits.
81
82
*/
82
- volatile uint32 m_version_state ;
83
+ PFS_ALIGNED volatile uint32 m_version_state ;
83
84
84
85
/** Returns true if the record is free. */
85
86
bool is_free (void )
You can’t perform that action at this time.
0 commit comments