--source include/have_plugin_auth.inc
--source include/not_embedded.inc

--echo #
--echo # Bug #11766001: ALLOW MULTIPLE --PLUGIN-LOAD OPTIONS
--echo # 

--echo # test multiple consecutive --plugin-load-add options
--echo # success : both test_plugin_server and qa_auth_server 
--echo #   should be present
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS
  WHERE PLUGIN_NAME IN ('test_plugin_server', 'qa_auth_server')
  ORDER BY 1;
SELECT * FROM mysql.plugin ORDER BY name;  
