## Preamble --source include/xplugin_preamble.inc --source include/xplugin_create_user.inc --write_file $MYSQL_TMP_DIR/check.xpl -->sql SHOW SCHEMAS -->endsql EOF --write_file $MYSQL_TMP_DIR/reset.xpl -->sql SELECT mysqlx_reset_global_status_variables() -->endsql EOF --exec $MYSQLXTEST -ux_root --password='' --file=$MYSQL_TMP_DIR/check.xpl 2>&1 --source ../include/xplugin_wait_for_connection_closure.inc SHOW GLOBAL STATUS LIKE 'mysqlx%connections%'; INSTALL COMPONENT "file://component_mysqlx_global_reset"; SELECT mysqlx_reset_global_status_variables(); SHOW GLOBAL STATUS LIKE 'mysqlx%connections%'; --exec $MYSQLXTEST -ux_root --password='' --file=$MYSQL_TMP_DIR/reset.xpl 2>&1 ## Cleanup UNINSTALL COMPONENT "file://component_mysqlx_global_reset"; --source ../include/xplugin_cleanup.inc