| 1 |
INSTALL COMPONENT "file://component_test_status_var_service_int"; |
| 2 |
SHOW STATUS WHERE VARIABLE_NAME LIKE 'int_var%'; |
| 3 |
Variable_name Value |
| 4 |
int_var_2 2048 |
| 5 |
SHOW STATUS WHERE VARIABLE_NAME LIKE 'test_int_component.int_variable'; |
| 6 |
Variable_name Value |
| 7 |
test_int_component.int_variable 4096 |
| 8 |
SHOW STATUS WHERE VARIABLE_NAME LIKE 'test_int_component.int_variable_value'; |
| 9 |
Variable_name Value |
| 10 |
INSTALL COMPONENT "file://component_test_status_var_service_str"; |
| 11 |
SHOW SESSION STATUS WHERE VARIABLE_NAME LIKE 'test_component.int_variable_value'; |
| 12 |
Variable_name Value |
| 13 |
SHOW STATUS WHERE VARIABLE_NAME LIKE 'test_str_component.str_variable'; |
| 14 |
Variable_name Value |
| 15 |
INSTALL COMPONENT "file://component_test_status_var_service"; |
| 16 |
SHOW STATUS WHERE VARIABLE_NAME LIKE 'test_component.int_variable'; |
| 17 |
Variable_name Value |
| 18 |
SELECT * FROM performance_schema.global_status WHERE VARIABLE_NAME LIKE '%component%'; |
| 19 |
VARIABLE_NAME VARIABLE_VALUE |
| 20 |
test_component.array_var1 MySQL |
| 21 |
test_component.array_var2 8.000000 |
| 22 |
test_component.bool_var ON |
| 23 |
test_component.char_ptr_var Testing CHAR_PTR for status vars |
| 24 |
test_component.char_var Testing CHAR status variable |
| 25 |
test_component.double_var 8.000000 |
| 26 |
test_component.func_var Testing SHOW_FUNC type for component status variables |
| 27 |
test_component.int_var 7 |
| 28 |
test_component.long_var 1234567 |
| 29 |
test_component.longlong_var 123456789 |
| 30 |
test_int_component.int_variable 4096 |
| 31 |
test_int_component.uint_variable 0 |
| 32 |
test_str_component.char_variable This is the initial value if the char_variable. |
| 33 |
UNINSTALL COMPONENT "file://component_test_status_var_service"; |
| 34 |
SELECT * FROM performance_schema.global_status WHERE VARIABLE_NAME LIKE '%component%'; |
| 35 |
VARIABLE_NAME VARIABLE_VALUE |
| 36 |
test_int_component.int_variable 4096 |
| 37 |
test_int_component.uint_variable 0 |
| 38 |
test_str_component.char_variable This is the initial value if the char_variable. |
| 39 |
UNINSTALL COMPONENT "file://component_test_status_var_service_int"; |
| 40 |
SELECT * FROM performance_schema.global_status WHERE VARIABLE_NAME LIKE '%component%'; |
| 41 |
VARIABLE_NAME VARIABLE_VALUE |
| 42 |
test_str_component.char_variable This is the initial value if the char_variable. |
| 43 |
UNINSTALL COMPONENT "file://component_test_status_var_service_str"; |
| 44 |
SELECT * FROM performance_schema.global_status WHERE VARIABLE_NAME LIKE '%component%'; |
| 45 |
VARIABLE_NAME VARIABLE_VALUE |
| 46 |
########## test_component_status_var_service.log: |
| 47 |
test_component_status_var init: |
| 48 |
test_component_status_var end of init: |
| 49 |
test_component_status_var deinit: |
| 50 |
test_component_status_var_service end of deinit: |
| 51 |
########## test_component_status_var_service_int.log: |
| 52 |
test_component_status_var_int init: |
| 53 |
test_component_status_var_int end of init: |
| 54 |
test_component_status_var_int deinit: |
| 55 |
test_component_status_var_int end of deinit: |
| 56 |
########## test_component_status_var_service_str.log: |
| 57 |
test_component_status_var_str init: |
| 58 |
test_component_status_var_str end of init: |
| 59 |
test_component_status_var_str deinit: |
| 60 |
test_component_status_var_str end of deinit: |