diff options
author | monty@donna.mysql.com <> | 2000-12-28 19:25:41 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-12-28 19:25:41 +0200 |
commit | 60677ffd2cceb0c8154ff73c8c17cc080f37bda4 (patch) | |
tree | e5a06533107ae2de5c6723f34705dd081f8c61bf /mysql-test/install_test_db.sh | |
parent | 767e2ef6d1cc82ce699418f6a2814ab0823ec320 (diff) | |
download | mariadb-git-60677ffd2cceb0c8154ff73c8c17cc080f37bda4.tar.gz |
Cleanup of tests
Fixed bug with ALTER TABLE on HEAP tables
Diffstat (limited to 'mysql-test/install_test_db.sh')
-rwxr-xr-x | mysql-test/install_test_db.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mysql-test/install_test_db.sh b/mysql-test/install_test_db.sh index be037b06538..28e6ad34419 100755 --- a/mysql-test/install_test_db.sh +++ b/mysql-test/install_test_db.sh @@ -17,16 +17,16 @@ else fix_bin=. fi +vardir=var +logdir=$vardir/log if [ x$1 = x"-slave" ] then shift 1 data=var/slave-data ldata=$fix_bin/var/slave-data - logdir=var/log else data=var/lib ldata=$fix_bin/var/lib - logdir=var/log fi mdata=$data/mysql @@ -45,9 +45,13 @@ hostname=`hostname` # Install this too in the user table resolved=127.0.0.1 +#create the directories +[ -d $vardir ] || mkdir $vardir +[ -d $logdir ] || mkdir $logdir + # Create database directories mysql & test if [ -d $data ] ; then rm -rf $data ; fi -mkdir -p $data $data/mysql $data/test +mkdir $data $data/mysql $data/test #for error messages if [ x$BINARY_DIST = x1 ] ; then @@ -59,9 +63,6 @@ mkdir share ln -sf ../../sql/share share/mysql fi -#create the directory for logs -mkdir -p $logdir - # Initialize variables c_d="" i_d="" c_h="" i_h="" |