mysql-test/suite/perfschema/t/start_server_no_user.test
raw| 1 | # Tests for PERFORMANCE_SCHEMA |
| 2 | |
| 3 | --source ../include/start_server_common.inc |
| 4 | |
| 5 | # Expect no records |
| 6 | show global variables like "performance_schema_users_size"; |
| 7 | |
| 8 | select count(*) from performance_schema.users; |
| 9 | |
| 10 | # We lost all the data |
| 11 | --disable_warnings |
| 12 | select variable_value > 0 from performance_schema.global_status |
| 13 | where variable_name like 'PERFORMANCE_SCHEMA_USERS_LOST'; |
| 14 | --enable_warnings |
| 15 |