summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorkent@mysql.com <>2005-10-14 22:49:53 +0200
committerkent@mysql.com <>2005-10-14 22:49:53 +0200
commit4ea2aacb2a45c0e20d2d56f2baab67fd70ffa19f (patch)
treec9fbd447c619479295296565647fa96aed588657 /support-files
parent5035abf052af06fc1f55cad00e7e106c74022c62 (diff)
downloadmariadb-git-4ea2aacb2a45c0e20d2d56f2baab67fd70ffa19f.tar.gz
mysql.spec.sh:
For 5.x, always compile with --with-big-tables Copy the config.log file to location outside the build tree
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh18
1 files changed, 16 insertions, 2 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 6e71ec198bc..2c28b5921c3 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -249,7 +249,7 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--includedir=%{_includedir} \
--mandir=%{_mandir} \
--enable-thread-safe-client \
- --with-readline ;
+ --with-readline ; \
# Add this for more debugging support
# --with-debug
"
@@ -302,9 +302,16 @@ BuildMySQL "--enable-shared \
--with-example-storage-engine \
--with-blackhole-storage-engine \
--with-federated-storage-engine \
+ --with-big-tables \
--with-comment=\"MySQL Community Edition - Experimental (GPL)\" \
--with-server-suffix='-max'"
+# We might want to save the config log file
+if test -n "$MYSQL_MAXCONFLOG_DEST"
+then
+ cp -fp config.log "$MYSQL_MAXCONFLOG_DEST"
+fi
+
make test-force || true
# Save mysqld-max
@@ -353,9 +360,16 @@ BuildMySQL "--disable-shared \
--with-comment=\"MySQL Community Edition - Standard (GPL)\" \
--with-server-suffix='%{server_suffix}' \
--with-archive-storage-engine \
- --with-innodb"
+ --with-innodb \
+ --with-big-tables"
nm --numeric-sort sql/mysqld > sql/mysqld.sym
+# We might want to save the config log file
+if test -n "$MYSQL_CONFLOG_DEST"
+then
+ cp -fp config.log "$MYSQL_CONFLOG_DEST"
+fi
+
make test-force || true
%install