diff options
-rwxr-xr-x | subdir/compile-innodb | 9 | ||||
-rwxr-xr-x | subdir/compile-innodb-debug | 9 | ||||
-rwxr-xr-x | subdir/export.sh | 61 | ||||
-rwxr-xr-x | subdir/revert_gen.sh | 8 | ||||
-rwxr-xr-x | subdir/setup.sh | 23 |
5 files changed, 0 insertions, 110 deletions
diff --git a/subdir/compile-innodb b/subdir/compile-innodb deleted file mode 100755 index 027ff727af0..00000000000 --- a/subdir/compile-innodb +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/sh - -path=`dirname $0` -. "$path/SETUP.sh" - -extra_flags="$pentium_cflags $fast_cflags -g" -extra_configs="$pentium_configs $static_link --with-plugins=innobase" - -. "$path/FINISH.sh" diff --git a/subdir/compile-innodb-debug b/subdir/compile-innodb-debug deleted file mode 100755 index d179c9453ce..00000000000 --- a/subdir/compile-innodb-debug +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/sh - -path=`dirname $0` -. "$path/SETUP.sh" $@ --with-debug=full - -extra_flags="$pentium_cflags $debug_cflags" -extra_configs="$pentium_configs $debug_configs --with-plugins=innobase" - -. "$path/FINISH.sh" diff --git a/subdir/export.sh b/subdir/export.sh deleted file mode 100755 index 966b99afdda..00000000000 --- a/subdir/export.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/bash -# -# export current working directory in a format suitable for sending to MySQL -# as a snapshot. also generates the actual snapshot and sends it to MySQL. - -set -eu - -die () { - echo $* - exit 1 -} - -if [ $# -ne 2 ] ; then - die "Usage: export.sh revision-number-of-last-snapshot current-revision-number" -fi - -START_REV=$(($1 + 1)) -END_REV=$2 - -set +u -if test -z $EDITOR; then - die "\$EDITOR is not set" -fi -set -u - -BRANCH=$(basename $(svn info .|grep ^URL: |cut -f 2 -d ' ')) - -rm -rf to-mysql -mkdir to-mysql{,/storage,/patches,/mysql-test{,/t,/r,/include}} -svn log -v -r "$START_REV:BASE" > to-mysql/log -svn export -q . to-mysql/storage/innobase - -for REV in $(svn log -q -r$START_REV:$END_REV |grep ^r |cut -f 1 -d ' ' |cut -b 2-) -do - PATCH=to-mysql/patches/r$REV.patch - svn log -v -r$REV > $PATCH - svn diff -r$(($REV-1)):$REV >> $PATCH -done - -cd to-mysql/storage/innobase - -mv mysql-test/*.test mysql-test/*.opt ../../mysql-test/t -mv mysql-test/*.result ../../mysql-test/r -mv mysql-test/*.inc ../../mysql-test/include -rmdir mysql-test || : - -rm setup.sh export.sh revert_gen.sh compile-innodb-debug compile-innodb || : - -cd ../.. -$EDITOR log -cd .. - -fname="innodb-$BRANCH-ss$2.tar.gz" - -rm -f $fname -tar czf $fname to-mysql -scp $fname mysql:snapshots -rm $fname -rm -rf to-mysql - -echo "Sent $fname to MySQL" diff --git a/subdir/revert_gen.sh b/subdir/revert_gen.sh deleted file mode 100755 index 231e05a21e0..00000000000 --- a/subdir/revert_gen.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -# -# revert changes to all generated files. this is useful in some situations -# when merging changes between branches. - -set -eu - -svn revert include/pars0grm.h pars/pars0grm.h pars/lexyy.c pars/pars0grm.c diff --git a/subdir/setup.sh b/subdir/setup.sh deleted file mode 100755 index 8c6b7052a94..00000000000 --- a/subdir/setup.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# Prepare the MySQL source code tree for building -# with checked-out InnoDB Subversion directory. - -# This script assumes that the current directory is storage/innobase. - -set -eu - -TARGETDIR=../storage/innobase - -# link the build scripts -BUILDSCRIPTS="compile-innodb compile-innodb-debug" -for script in $BUILDSCRIPTS ; do - ln -sf $TARGETDIR/$script ../../BUILD/ -done - -cd ../../mysql-test/t -ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt . -cd ../r -ln -sf ../$TARGETDIR/mysql-test/*.result . -cd ../include -ln -sf ../$TARGETDIR/mysql-test/*.inc . |