| 1 |
# Tests for PERFORMANCE_SCHEMA |
| 2 |
|
| 3 |
--source include/not_embedded.inc |
| 4 |
--source include/have_perfschema.inc |
| 5 |
|
| 6 |
--source ../include/start_server_common.inc |
| 7 |
|
| 8 |
# Expect no records |
| 9 |
show global variables like "performance_schema_accounts_size"; |
| 10 |
|
| 11 |
select count(*) from performance_schema.accounts; |
| 12 |
|
| 13 |
# We lost all the data |
| 14 |
--disable_warnings |
| 15 |
select variable_value > 0 from information_schema.global_status |
| 16 |
where variable_name like 'PERFORMANCE_SCHEMA_ACCOUNTS_LOST'; |
| 17 |
--enable_warnings |
| 18 |
|