Skip to content

Commit 322129d

Browse files
committed
Skip mysql_json_mysql_upgrade if plugin is not built
Do not use --source directive as we don't want to load the plugin when the test starts.
1 parent bba6c38 commit 322129d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mysql-test/main/mysql_json_mysql_upgrade.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
-- source include/have_utf8.inc
77
-- source include/mysql_upgrade_preparation.inc
88

9+
if (!$TYPE_MYSQL_JSON_SO) {
10+
skip Need MYSQL_JSON plugin;
11+
}
12+
913
SET NAMES utf8;
1014

1115
let $MYSQLD_DATADIR= `select @@datadir`;

0 commit comments

Comments
 (0)