| 1 |
call mtr.add_suppression("duplicate variable name"); |
| 2 |
INSTALL COMPONENT "file://component_test_status_var_service"; |
| 3 |
SHOW STATUS WHERE VARIABLE_NAME LIKE '%component%'; |
| 4 |
Variable_name Value |
| 5 |
Com_install_component 1 |
| 6 |
Com_uninstall_component 0 |
| 7 |
test_component.array_var1 MySQL |
| 8 |
test_component.array_var2 8.000000 |
| 9 |
test_component.bool_var ON |
| 10 |
test_component.char_ptr_var Testing CHAR_PTR for status vars |
| 11 |
test_component.char_var Testing CHAR status variable |
| 12 |
test_component.double_var 8.000000 |
| 13 |
test_component.func_var Testing SHOW_FUNC type for component status variables |
| 14 |
test_component.int_var 7 |
| 15 |
test_component.long_var 1234567 |
| 16 |
test_component.longlong_var 123456789 |
| 17 |
# Kill and restart |
| 18 |
SHOW STATUS WHERE VARIABLE_NAME LIKE '%component%'; |
| 19 |
Variable_name Value |
| 20 |
Com_install_component 0 |
| 21 |
Com_uninstall_component 0 |
| 22 |
test_component.array_var1 MySQL |
| 23 |
test_component.array_var2 8.000000 |
| 24 |
test_component.bool_var ON |
| 25 |
test_component.char_ptr_var Testing CHAR_PTR for status vars |
| 26 |
test_component.char_var Testing CHAR status variable |
| 27 |
test_component.double_var 8.000000 |
| 28 |
test_component.func_var Testing SHOW_FUNC type for component status variables |
| 29 |
test_component.int_var 7 |
| 30 |
test_component.long_var 1234567 |
| 31 |
test_component.longlong_var 123456789 |
| 32 |
UNINSTALL COMPONENT "file://component_test_status_var_service"; |
| 33 |
########## test_component_sys_var_service.log: |
| 34 |
test_component_status_var init: |
| 35 |
test_component_status_var end of init: |
| 36 |
test_component_status_var deinit: |
| 37 |
test_component_status_var_service end of deinit: |