Debian Codegraph @

mysql-test/suite/sysschema/t/fn_ps_thread_account.test

raw
1 -- source include/not_embedded.inc
2 # Tests for sys schema
3 # Verify the sys.ps_thread_account() function perfoms as expected
4
5 # Passing NULL, or an unknown connection id, should return NULL
6 SELECT sys.ps_thread_account(NULL);
7 SELECT sys.ps_thread_account(234623462376);
8
9
10 # Check result
11 SELECT sys.ps_thread_account(sys.ps_thread_id(NULL));