Skip to content

Commit 72d5c76

Browse files
committed
mysql-cluster7.4 -> mysql5.6
1 parent c0978e8 commit 72d5c76

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

sql/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include ../depends.mk
22

33
OUTPUT = $(shell pwd)/build
4-
MYSQL_PATH = mysql-cluster-gpl-7.4.10
4+
MYSQL_PATH = mysql-5.6.31
55
TERA_PLUGIN_PATH = $(MYSQL_PATH)/storage/tera
66

77
.PHONY: all clean cleanall
@@ -12,8 +12,8 @@ all: $(MYSQL_PATH) FORCE
1212
cp -a ../build/lib/libtera.so $(TERA_PLUGIN_PATH)
1313
cp -a ../build/include/tera.h $(TERA_PLUGIN_PATH)
1414
cd $(MYSQL_PATH) && cmake -DCMAKE_INSTALL_PREFIX=$(OUTPUT) \
15-
-DCMAKE_BUILD_TYPE=Debug -DWITH_NDB_JAVA=OFF \
16-
-DWITH_NDB_DEBUG=ON -DWITH_TERA_STORAGE_ENGINE=ON
15+
-DCMAKE_BUILD_TYPE=Debug -DMYSQL_MAINTAINER_MODE=OFF \
16+
-DWITH_TERA_STORAGE_ENGINE=ON
1717
$(MAKE) -C $(MYSQL_PATH)
1818
$(MAKE) install -C $(MYSQL_PATH)
1919
cp -af $(TERA_PLUGIN_PATH)/libtera.so $(OUTPUT)/lib/plugin

sql/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ set -e -u -E # this script will exit if any sub-command fails
66
# download mysql source
77
########################################
88

9-
if [ ! -d "mysql-cluster-gpl-7.4.10" ]; then
10-
wget -O mysql-cluster-gpl-7.4.10.tar.gz http://cdn.mysql.com//Downloads/MySQL-Cluster-7.4/mysql-cluster-gpl-7.4.10.tar.gz
11-
rm -rf mysql-cluster-gpl-7.4.10
12-
tar zxf mysql-cluster-gpl-7.4.10.tar.gz
9+
if [ ! -d "mysql-5.6.31" ]; then
10+
wget -O mysql-5.6.31.tar.gz http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.31.tar.gz
11+
rm -rf mysql-5.6.31
12+
tar zxf mysql-5.6.31.tar.gz
1313
fi
1414

1515
########################################

0 commit comments

Comments
 (0)