summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2008-02-26 18:43:48 +0100
committerunknown <kent@mysql.com/kent-amd64.(none)>2008-02-26 18:43:48 +0100
commite45057eace95383456f5067d8097b03245d10809 (patch)
tree7be55cb62472069bec936215a3bff2e0e45b6759 /config
parent1113518436ab205e505c8af233d401a393a5cda6 (diff)
downloadmariadb-git-e45057eace95383456f5067d8097b03245d10809.tar.gz
ha_ndbcluster.m4:
Use MYSQL_NUMERIC_VERSION, to make sure NDB_VERSION_BUILD is numeric config/ac-macros/ha_ndbcluster.m4: Use MYSQL_NUMERIC_VERSION, to make sure NDB_VERSION_BUILD is numeric
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/ha_ndbcluster.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/config/ac-macros/ha_ndbcluster.m4 b/config/ac-macros/ha_ndbcluster.m4
index 9ea2e9972f7..9df96a7750b 100644
--- a/config/ac-macros/ha_ndbcluster.m4
+++ b/config/ac-macros/ha_ndbcluster.m4
@@ -2,9 +2,9 @@ dnl ---------------------------------------------------------------------------
dnl Macro: MYSQL_CHECK_NDBCLUSTER
dnl ---------------------------------------------------------------------------
-NDB_VERSION_MAJOR=`echo $MYSQL_NO_DASH_VERSION | cut -d. -f1`
-NDB_VERSION_MINOR=`echo $MYSQL_NO_DASH_VERSION | cut -d. -f2`
-NDB_VERSION_BUILD=`echo $MYSQL_NO_DASH_VERSION | cut -d. -f3`
+NDB_VERSION_MAJOR=`echo $MYSQL_NUMERIC_VERSION | cut -d. -f1`
+NDB_VERSION_MINOR=`echo $MYSQL_NUMERIC_VERSION | cut -d. -f2`
+NDB_VERSION_BUILD=`echo $MYSQL_NUMERIC_VERSION | cut -d. -f3`
NDB_VERSION_STATUS=`echo $VERSION | sed 's/^[[-.0-9]]*//'`
TEST_NDBCLUSTER=""