config root man

Current Path : /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
Upload File :
Current File : //usr/opt/mysql57/mysql-test/suite/x/t/plugin_license.test

call mtr.add_suppression("Message of size .* received, exceeding the limit of"); 

--echo Setup
--source ../include/xplugin_preamble.inc

--echo Test
--let $_server_license= `SELECT IF(@@license = 'Commercial', 'PROPRIETARY', @@license);`
--let $_plugin_license= `select plugin_license from information_schema.plugins where plugin_name='mysqlx'`

if ($_server_license != $_plugin_license)
{
--echo Licenses doesn't match
--echo Servers license: $_server_license
--echo Plugins license: $_plugin_license
}

if ($_server_license == $_plugin_license)
{
--echo License ok
}

--echo Cleanup
UNINSTALL PLUGIN `mysqlx`;

Man Man