Debian Codegraph @

mysql-test/suite/sysschema/r/fn_ps_is_thread_instrumented.result

raw
1 SELECT sys.ps_is_thread_instrumented(NULL);
2 sys.ps_is_thread_instrumented(NULL)
3 NULL
4 SELECT sys.ps_is_thread_instrumented(CONNECTION_ID());
5 sys.ps_is_thread_instrumented(CONNECTION_ID())
6 YES
7 UPDATE performance_schema.threads SET instrumented = 'NO' WHERE processlist_id = CONNECTION_ID();
8 SELECT sys.ps_is_thread_instrumented(CONNECTION_ID());
9 sys.ps_is_thread_instrumented(CONNECTION_ID())
10 NO
11 SELECT sys.ps_is_thread_instrumented(234623462376);
12 sys.ps_is_thread_instrumented(234623462376)
13 UNKNOWN
14 UPDATE performance_schema.threads SET instrumented = 'YES';