File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11include ../depends.mk
22
33OUTPUT = $(shell pwd) /build
4- MYSQL_PATH = mysql-cluster-gpl-7.4.10
4+ MYSQL_PATH = mysql-5.6.31
55TERA_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
Original file line number Diff line number Diff 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
1313fi
1414
1515# #######################################
You can’t perform that action at this time.
0 commit comments