polardbxengine/mysql-test/suite/xengine_perfschema/t/start_server_no_account.test

15 lines
399 B
Plaintext

# Tests for PERFORMANCE_SCHEMA
--source ../include/start_server_common.inc
# Expect no records
show global variables like "performance_schema_accounts_size";
select count(*) from performance_schema.accounts;
# We lost all the data
--disable_warnings
select variable_value > 0 from performance_schema.global_status
where variable_name like 'PERFORMANCE_SCHEMA_ACCOUNTS_LOST';
--enable_warnings