summaryrefslogtreecommitdiffstats
path: root/database/mariadb/PREPARE
blob: cb0d4390ed15fa9fa0a3baa32bc0c717103e069a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
. ${GRIMOIRE}/FUNCTIONS &&

#
# This block is required for proper configuration procedure for users with 5.2
# branch installed after adding multiversion functionality to the spell and
# prevents previous branch from resetting to a new default value on ``cast -r''
#
persistent_read $SPELL MARIADB_BRANCH MARIADB_BRANCH || true &&

if [[ -z "$MARIADB_BRANCH" ]]; then
  persistent_add MARIADB_BRANCH &&
  local MARIADB_BRANCH="5.2"
fi &&

prepare_select_branch 5.3 5.2 &&

config_query MARIA_TESTS "Install MariaDB testing utilities?" n &&
config_query MARIA_BENCH "Install MariaDB benchmarking utilities?" n