summaryrefslogtreecommitdiff
path: root/mysql-test/main
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2021-03-10 10:31:22 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2021-03-10 14:06:43 +0200
commit322129dfb4c2d3a85dfb80c43e11df8d301ce79b (patch)
tree5e63878395c7c9b04acef55e5a0165ff1326b3d8 /mysql-test/main
parentbba6c3863053318f8b417e0f44042039b03226c4 (diff)
downloadmariadb-git-322129dfb4c2d3a85dfb80c43e11df8d301ce79b.tar.gz
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.
Diffstat (limited to 'mysql-test/main')
-rw-r--r--mysql-test/main/mysql_json_mysql_upgrade.test4
1 files changed, 4 insertions, 0 deletions
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`;