Current Path : /usr/opt/mysql57/mysql-test/suite/sysschema/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/mysql57/mysql-test/suite/sysschema/t/fn_ps_is_account_enabled.test |
-- source include/not_embedded.inc # Tests for sys schema # Verify the sys.ps_is_account_enabled() function perfoms as expected # First test with the default "all enabled" for any random user SELECT sys.ps_is_account_enabled('foo', 'bar'); # Now remove the wild card entry, and add some specific users to testx DELETE FROM performance_schema.setup_actors; INSERT INTO performance_schema.setup_actors VALUES ('test', 'test', '%', 'YES', 'NO'); # Now the random account should not be enabled SELECT sys.ps_is_account_enabled('foo', 'bar'); # But the specified one should SELECT sys.ps_is_account_enabled('test', 'test'); --source ../include/ps_setup_actors_cleanup.inc