Debian Codegraph @

mysql-test/suite/x/t/plugin_license.test

raw
1 call mtr.add_suppression("Message of size .* received, exceeding the limit of");
2
3 --echo Setup
4 --source include/xplugin_preamble.inc
5
6 --echo Test
7 --let $_server_license= `SELECT IF(@@license = 'Commercial', 'PROPRIETARY', @@license);`
8 --let $_plugin_license= `select plugin_license from information_schema.plugins where plugin_name='mysqlx'`
9
10 if ($_server_license != $_plugin_license)
11 {
12 --echo Licenses doesn't match
13 --echo Servers license: $_server_license
14 --echo Plugins license: $_plugin_license
15 }
16
17 if ($_server_license == $_plugin_license)
18 {
19 --echo License ok
20 }
21