Debian Codegraph @

mysql-test/suite/service_status_var_registration/r/status_var_service.result

raw
1 call mtr.add_suppression("duplicate variable name");
2 call mtr.add_suppression("variable name 'test_component.int_var' not found");
3 # Simple load test
4 INSTALL COMPONENT "file://component_test_status_var_service";
5 # Testing integer and bool type variable
6 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.int_var';
7 Variable_name Value
8 test_component.int_var 7
9 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.bool_var';
10 Variable_name Value
11 test_component.bool_var ON
12 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.long_var';
13 Variable_name Value
14 test_component.long_var 1234567
15 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.longlong_var';
16 Variable_name Value
17 test_component.longlong_var 123456789
18 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.func_var';
19 Variable_name Value
20 test_component.func_var Testing SHOW_FUNC type for component status variables
21 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.array';
22 Variable_name Value
23 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.char_var';
24 Variable_name Value
25 test_component.char_var Testing CHAR status variable
26 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.char_ptr_var';
27 Variable_name Value
28 test_component.char_ptr_var Testing CHAR_PTR for status vars
29 SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.double';
30 Variable_name Value
31 SELECT * FROM performance_schema.session_status WHERE VARIABLE_NAME LIKE 'test_component%';
32 VARIABLE_NAME VARIABLE_VALUE
33 test_component.array_var1 MySQL
34 test_component.array_var2 8.000000
35 test_component.bool_var ON
36 test_component.char_ptr_var Testing CHAR_PTR for status vars
37 test_component.char_var Testing CHAR status variable
38 test_component.double_var 8.000000
39 test_component.func_var Testing SHOW_FUNC type for component status variables
40 test_component.int_var 7
41 test_component.long_var 1234567
42 test_component.longlong_var 123456789
43 SELECT * FROM performance_schema.global_status WHERE VARIABLE_NAME LIKE 'test_component%';
44 VARIABLE_NAME VARIABLE_VALUE
45 test_component.array_var1 MySQL
46 test_component.array_var2 8.000000
47 test_component.bool_var ON
48 test_component.char_ptr_var Testing CHAR_PTR for status vars
49 test_component.char_var Testing CHAR status variable
50 test_component.double_var 8.000000
51 test_component.func_var Testing SHOW_FUNC type for component status variables
52 test_component.int_var 7
53 test_component.long_var 1234567
54 test_component.longlong_var 123456789
55 UNINSTALL COMPONENT "file://component_test_status_var_service";
56 ########## test_component_sys_var_service.log:
57 test_component_status_var init:
58 test_component_status_var end of init:
59 test_component_status_var deinit:
60 test_component_status_var_service end of deinit: