35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
--echo #
|
|
--echo # Bug #28575863 MEMCACHED PLUGIN VARIABLES CRASHES THE SERVER --DAEMON_MEMCACHED_ENGINE_LIB=""
|
|
--echo #
|
|
source include/not_valgrind.inc;
|
|
source include/have_memcached_plugin.inc;
|
|
source include/not_windows.inc;
|
|
|
|
--let SEARCH_FILE = $MYSQLTEST_VARDIR/log/memc252_empty_opts.err
|
|
|
|
--let $restart_parameters = restart: $DAEMON_MEMCACHED_OPT --plugin-load=libmemcached.so --daemon_memcached_engine_lib_path="" --daemon_memcached_option="-p11252" --log-error=$SEARCH_FILE
|
|
--replace_result "$DAEMON_MEMCACHED_OPT" "DAEMON_MEMCACHED_OPT" "$SEARCH_FILE" "SEARCH_FILE"
|
|
--source include/restart_mysqld.inc
|
|
|
|
--let $memcached_address=127.0.0.1:11252
|
|
--let $memcached_check_attempts=3
|
|
--let $memcached_expect=error
|
|
--source ../include/check_daemon_memcached.inc
|
|
|
|
|
|
# TODO: Our current way of error handling causes the plugin to appear as ACTIVE
|
|
# regardless of daemon_memcached_main() return value (false, 0, NULL, 1, EXIT_SUCCESS)
|
|
SELECT PLUGIN_STATUS FROM information_schema.plugins WHERE PLUGIN_NAME="daemon_memcached";
|
|
|
|
--let SEARCH_PATTERN = Failed to open library "/innodb_engine.so":
|
|
--source include/search_pattern_multiline.inc
|
|
|
|
|
|
# Clean up
|
|
let $restart_parameters = restart;
|
|
--source include/restart_mysqld.inc
|
|
|
|
# We don't expect the plugin to be reported here
|
|
SELECT PLUGIN_STATUS FROM information_schema.plugins WHERE PLUGIN_NAME="daemon_memcached";
|
|
|