Current Path : /home/usr.opt/mysql57/mysql-test/suite/x/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/x/t/system_variable_bind_address.test |
## Test configuration ## --let $dont_load_plugin = 1 --let $wait_for_unixsocket_status = no_wait --let $wait_for_tcpsocket_status = no_wait --source ../include/xplugin_preamble.inc ## Test body ## --let $assert_text= Mysqlx_bind_address global variablem shouldn't exist --let $assert_cond= [SELECT COUNT(*) as Result from performance_schema.global_variables WHERE VARIABLE_NAME ="mysqlx_bind_address";, Result, 1] =0 --source include/assert.inc --error ER_UNKNOWN_SYSTEM_VARIABLE SET @@GLOBAL.Mysqlx_bind_address=1; --echo # --echo # --echo # X Plugin started with * --echo # --echo # --source ../include/xplugin_install_and_wait.inc --let $assert_text= Mysqlx_bind_address global variablem must exist --let $assert_cond= [SELECT COUNT(@@GLOBAL.Mysqlx_bind_address) as Result;, Result, 1] =1 --source include/assert.inc --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET @@GLOBAL.Mysqlx_bind_address=1; --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET @@GLOBAL.Mysqlx_bind_address="1.0.1.0"; --Error ER_INCORRECT_GLOBAL_LOCAL_VAR SELECT COUNT(@@local.Mysqlx_bind_address); --Error ER_INCORRECT_GLOBAL_LOCAL_VAR SELECT COUNT(@@SESSION.Mysqlx_bind_address); --let $assert_text= Mysqlx_bind_address global variable must is read-only, should hold to * --let $assert_cond= [SELECT @@GLOBAL.Mysqlx_bind_address = "*" as Result;, Result, 1] =1 --source include/assert.inc --echo # --echo # --echo # X Plugin started with :: --echo # --echo # --let $restart_parameters = restart: --loose-mysqlx-bind-address=:: --source ../include/restart_mysqld_and_wait_for_xplugin.inc --let $assert_text= Mysqlx_bind_address global variablem must exist --let $assert_cond= [SELECT COUNT(@@GLOBAL.Mysqlx_bind_address) as Result;, Result, 1] =1 --source include/assert.inc --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET @@GLOBAL.Mysqlx_bind_address=1; --error ER_INCORRECT_GLOBAL_LOCAL_VAR SET @@GLOBAL.Mysqlx_bind_address="1.0.1.0"; --Error ER_INCORRECT_GLOBAL_LOCAL_VAR SELECT COUNT(@@local.Mysqlx_bind_address); --Error ER_INCORRECT_GLOBAL_LOCAL_VAR SELECT COUNT(@@SESSION.Mysqlx_bind_address); --let $assert_text= Mysqlx_bind_address global variable must is read-only, should hold to :: --let $assert_cond= [SELECT @@GLOBAL.Mysqlx_bind_address = "::" as Result;, Result, 1] =1 --source include/assert.inc ## Cleanup ## UNINSTALL PLUGIN `mysqlx`;