summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@lavabit.com>2013-07-19 14:55:54 -0400
committerroot <root@ichigo.scent-team.com>2013-09-10 10:01:57 -0400
commit3da23a1438c544e058a0f084c1dcfc9fded33bf7 (patch)
tree9122783ae6dab0d02a5c4fbc52378d07489e4a1f /eclass/mysql-v2.eclass
parentChange indenting and whitespace (diff)
downloadmysql-3da23a1438c544e058a0f084c1dcfc9fded33bf7.tar.gz
mysql-3da23a1438c544e058a0f084c1dcfc9fded33bf7.tar.bz2
mysql-3da23a1438c544e058a0f084c1dcfc9fded33bf7.zip
[mysql-cluster] Upgrade 7.0.37 to mysql-v2 eclass and fix a couple QA issues
Diffstat (limited to 'eclass/mysql-v2.eclass')
-rw-r--r--eclass/mysql-v2.eclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclass/mysql-v2.eclass b/eclass/mysql-v2.eclass
index 81e5b56..1832786 100644
--- a/eclass/mysql-v2.eclass
+++ b/eclass/mysql-v2.eclass
@@ -83,6 +83,14 @@ fi
# mysql_upgrade.
MYSQL_PV_MAJOR="$(get_version_component_range 1-2 ${PV})"
+# Cluster is a special case...
+if [[ "${PN}" == "mysql-cluster" ]]; then
+ case $PV in
+ 6.1*|7.0*|7.1*) MYSQL_PV_MAJOR=5.1 ;;
+ 7.2*|7.3*) MYSQL_PV_MAJOR=5.5 ;;
+ esac
+fi
+
# @ECLASS-VARIABLE: MYSQL_VERSION_ID
# @DESCRIPTION:
# MYSQL_VERSION_ID will be: