Debian Codegraph @

mysql-test/suite/perfschema/t/threads_mysql_windows.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/windows.inc
7 --source include/not_embedded.inc
8 --source include/have_perfschema.inc
9
10 # Every thread should be bound to an operating system thread
11 # (this test is not using the thread_pool)
12
13 # Note that this test will fail:
14 # - on platforms where my_thread_os_id() is not supported,
15 # which is not the case on windows
16 # - if some code in the server does not assign a THREAD_OS_ID
17 # to an instrumented thread, in which case this is a bug
18 # in the component instrumentation.
19
20 SELECT THREAD_ID, NAME, THREAD_OS_ID from performance_schema.threads
21 WHERE THREAD_OS_ID is NULL;
22