Debian Codegraph @

mysql-test/suite/secondary_engine/r/telemetry_traces_server.result

raw
1 INSTALL COMPONENT 'file://component_query_attributes';
2 INSTALL COMPONENT 'file://component_test_server_telemetry_traces';
3 #
4 # Ensure statement using secondary engine is traced
5 #
6 CREATE TABLE t1 (a INT) SECONDARY_ENGINE MOCK;
7 ALTER TABLE t1 SECONDARY_LOAD;
8 SELECT * FROM t1;
9 a
10 ALTER TABLE t1 SECONDARY_UNLOAD;
11 SHOW CREATE TABLE t1;
12 Table Create Table
13 t1 CREATE TABLE `t1` (
14 `a` int DEFAULT NULL
15 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci SECONDARY_ENGINE=MOCK
16 DROP TABLE t1;
17 UNINSTALL COMPONENT 'file://component_test_server_telemetry_traces';
18 UNINSTALL COMPONENT 'file://component_query_attributes';
19 Component logs:
20 test_server_telemetry_traces_component_init init:
21 - System variables registered.
22 - Status variables registered.
23 - Telemetry per-session data slot registered.
24 - Telemetry session callbacks registered.
25 - Telemetry statement callbacks registered.
26 End of init
27 tm_session_create: telemetry session started, increase refcount by user=root to 1
28 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='')
29 > tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='INSTALL PLUGIN mock SONAME 'ha_mock.so'')
30 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='')
31 > tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='CREATE TABLE t1 (a INT) SECONDARY_ENGINE MOCK')
32 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='')
33 > tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='ALTER TABLE t1 SECONDARY_LOAD')
34 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='')
35 > tm_stmt_notify_qa: proceed further (depth=1, with_qa=1, user=root, query='SELECT * FROM t1', app[], call[])
36 > tm_stmt_end: trace statement (depth=1, user=root, query='SELECT * FROM t1', query1='SELECT * FROM t1', digest='SELECT * FROM `t1`', app[], call[])
37 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='SELECT * FROM t1')
38 > tm_stmt_notify_qa: proceed further (depth=1, with_qa=1, user=root, query='SELECT * FROM t1', app[], call[])
39 > tm_stmt_end: trace statement (depth=1, user=root, query='', query1='SELECT * FROM t1', digest='SELECT * FROM `t1`', app[], call[])
40 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='')
41 > tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='ALTER TABLE t1 SECONDARY_UNLOAD')
42 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='')
43 > tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='SHOW CREATE TABLE t1')
44 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='')
45 > tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='DROP TABLE t1')
46 > tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='')
47 > tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='UNINSTALL COMPONENT 'file://component_test_server_telemetry_traces'')
48 test_server_telemetry_traces_component_deinit:
49 - Telemetry statement callbacks unregistered.
50 tm_session_destroy: telemetry session ended, decrease refcount to 0
51 - Current session aborted.
52 - Done waiting for telemetry sessions to finish (refcount = 0).
53 - Telemetry session callbacks unregistered.
54 - Telemetry per-session data slot unregistered.
55 - Status variables unregistered.
56 - System variables unregistered.
57 End of deinit