Commit graph

2 commits

Author SHA1 Message Date
Vicențiu Ciorbaru
322129dfb4 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.
2021-03-10 14:06:43 +02:00
Anel Husakovic
85130c5a4f MDEV-24093: Detect during mysql_upgrade if type_mysql_json.so is needed and load it
a. The change makes `mariadb-upgrade` detect if `MYSQL_JSON` data type is needed.
b. Install the data type if it's not installed.
c. Uninstalls the data type once finished.
d. Create `.opt` and `.inc` files `have_type_mysql_json` and adapt the
tests

Reviewed by: vicentiu@mariadb.org
2021-01-28 19:01:32 +01:00