Skip to content

Commit

Permalink
Skip mysql_json_mysql_upgrade if plugin is not built
Browse files Browse the repository at this point in the history
Do not use --source directive as we don't want to load the plugin when
the test starts.
  • Loading branch information
cvicentiu committed Mar 10, 2021
1 parent bba6c38 commit 322129d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mysql-test/main/mysql_json_mysql_upgrade.test
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit 322129d

Please sign in to comment.