| 1 |
# Base test for registration of system variables by components. |
| 2 |
|
| 3 |
--source ../include/have_component_test_status_var_service.inc |
| 4 |
|
| 5 |
call mtr.add_suppression("duplicate variable name"); |
| 6 |
INSTALL COMPONENT "file://component_test_status_var_service"; |
| 7 |
SHOW STATUS WHERE VARIABLE_NAME LIKE '%component%'; |
| 8 |
|
| 9 |
--source include/kill_and_restart_mysqld.inc |
| 10 |
|
| 11 |
SHOW STATUS WHERE VARIABLE_NAME LIKE '%component%'; |
| 12 |
UNINSTALL COMPONENT "file://component_test_status_var_service"; |
| 13 |
|
| 14 |
# Write the test results in "test_component_status_var_service.log" into the |
| 15 |
# result file of this test |
| 16 |
--echo ########## test_component_sys_var_service.log: |
| 17 |
let $MYSQLD_DATADIR= `select @@datadir`; |
| 18 |
cat_file $MYSQLD_DATADIR/test_component_status_var_service.log; |
| 19 |
remove_file $MYSQLD_DATADIR/test_component_status_var_service.log; |
| 20 |
|
| 21 |
|