Debian Codegraph @

mysql-test/suite/perfschema/t/threads_mysql_freebsd.test

raw
1
2 # Tests for special content of performance_schema.threads
3 #
4 # Show MySQL server related content in performance_schema.threads
5
6 --source include/freebsd.inc
7
8 # Every thread should be bound to an operating system thread
9 # (this test is not using the thread_pool)
10
11 # Note that this test will fail:
12 # - on platforms where my_thread_os_id() is not supported,
13 # which is not the case on FreeBSD
14 # - if some code in the server does not assign a THREAD_OS_ID
15 # to an instrumented thread, in which case this is a bug
16 # in the component instrumentation.
17
18 SELECT THREAD_ID, NAME, THREAD_OS_ID from performance_schema.threads
19 WHERE THREAD_OS_ID is NULL;
20