| 1 |
# The performance schema internal structures are compiled with PFS_ALIGN, |
| 2 |
# and the sizeof() structures is platform dependent. |
| 3 |
# |
| 4 |
# For tests sensitive to the internal sizes (show engine performance_schema |
| 5 |
# status), make sure we use a platform with aligned memory. |
| 6 |
|
| 7 |
if (`SELECT count(*)=0 from performance_schema.session_connect_attrs where PROCESSLIST_ID = connection_id() and ATTR_NAME = '_os' and ATTR_VALUE in ('Linux', 'Windows')`) |
| 8 |
{ |
| 9 |
skip Need a platform with aligned memory; |
| 10 |
} |