mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mtr: perfschema.socket_{connect,instances_func} "Expect X"
Match test output with what it is testing.
This commit is contained in:
@ -230,7 +230,7 @@ AND PORT = 0 AND THREAD_ID = @thread_id;
|
||||
--echo # for [::] and for 0.0.0.0.
|
||||
--echo # They share the same thread id with 'wait/io/socket/sql/server_unix_socket'.
|
||||
|
||||
SELECT COUNT(*) = 2 AS 'Expect 1'
|
||||
SELECT COUNT(*) = 2 AS 'Expect 2'
|
||||
FROM performance_schema.socket_instances
|
||||
WHERE EVENT_NAME = 'wait/io/socket/sql/server_tcpip_socket';
|
||||
|
||||
@ -293,14 +293,14 @@ WHERE EVENT_NAME = 'wait/io/socket/sql/server_unix_socket';
|
||||
--disable_query_log ONCE
|
||||
eval SET @thread_id = $server_tcpip_thread_id;
|
||||
|
||||
eval SELECT COUNT(*) = 3 AS 'Expect 1'
|
||||
eval SELECT COUNT(*) = 3 AS 'Expect 3'
|
||||
FROM performance_schema.socket_instances
|
||||
WHERE THREAD_ID = @thread_id;
|
||||
|
||||
--disable_query_log ONCE
|
||||
eval SET @thread_id = $server_unix_thread_id;
|
||||
|
||||
eval SELECT COUNT(*) = 3 AS 'Expect 1'
|
||||
eval SELECT COUNT(*) = 3 AS 'Expect 3'
|
||||
FROM performance_schema.socket_instances
|
||||
WHERE THREAD_ID = @thread_id;
|
||||
|
||||
|
Reference in New Issue
Block a user