From 322129dfb4c2d3a85dfb80c43e11df8d301ce79b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Wed, 10 Mar 2021 10:31:22 +0200 Subject: [PATCH] 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. --- mysql-test/main/mysql_json_mysql_upgrade.test | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mysql-test/main/mysql_json_mysql_upgrade.test b/mysql-test/main/mysql_json_mysql_upgrade.test index 20f8ae588b7..4380b004c70 100644 --- a/mysql-test/main/mysql_json_mysql_upgrade.test +++ b/mysql-test/main/mysql_json_mysql_upgrade.test @@ -6,6 +6,10 @@ -- source include/have_utf8.inc -- source include/mysql_upgrade_preparation.inc +if (!$TYPE_MYSQL_JSON_SO) { + skip Need MYSQL_JSON plugin; +} + SET NAMES utf8; let $MYSQLD_DATADIR= `select @@datadir`;