mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
fixed up the newly check in test suite, although it still is not fully functional
undid hack to work around missin opt_ft.* mysql-test/mybin/mysql-test_install_db: got it to the point where mysqld starts on my system mysql-test/mysql-test-run: fixed some syntax errors sql/sql_select.cc: undid my hack to make it compile, since opt_ft.* is now in bk
This commit is contained in:
parent
3c552b4b9b
commit
77f75787e3
3 changed files with 30 additions and 20 deletions
|
|
@ -6,6 +6,7 @@
|
|||
# columns_priv in the mysql database, as well as the func table.
|
||||
|
||||
ldata=var/lib
|
||||
logdir=var/log
|
||||
mdata=$ldata/mysql
|
||||
execdir=../sql
|
||||
bindir=../client
|
||||
|
|
@ -51,13 +52,29 @@ hostname=`hostname` # Install this too in the user table
|
|||
resolved=127.0.0.1
|
||||
|
||||
# Create database directories mysql & test
|
||||
if test ! -d $ldata; then mkdir $ldata; chmod 700 $ldata ; fi
|
||||
if test ! -d $ldata/mysql; then mkdir $ldata/mysql; chmod 700 $ldata/mysql ; fi
|
||||
if test ! -d $ldata/test; then mkdir $ldata/test; chmod 700 $ldata/test ; fi
|
||||
if test ! -d $ldata; then (mkdir -p $ldata || exit 1) && \
|
||||
(chmod 700 $ldata || exit 1) ; fi
|
||||
if test ! -d $ldata/mysql;
|
||||
then
|
||||
mkdir -p $ldata/mysql || exit 1;
|
||||
chmod 700 $ldata/mysql || exit 1 ; fi
|
||||
if test ! -d $ldata/test;
|
||||
then
|
||||
mkdir -p $ldata/test || exit 1;
|
||||
chmod 700 $ldata/test || exit 1 ;
|
||||
fi
|
||||
if test -w / -a ! -z "$user"; then
|
||||
chown $user $ldata $ldata/mysql $ldata/test;
|
||||
chown $user $ldata $ldata/mysql $ldata/test || exit 1;
|
||||
fi
|
||||
|
||||
#for error messages
|
||||
rm -rf share
|
||||
mkdir share
|
||||
ln -sf ../../sql/share share/mysql
|
||||
|
||||
#create the directory for logs
|
||||
mkdir -p $logdir
|
||||
|
||||
# Initialize variables
|
||||
c_d="" i_d=""
|
||||
c_h="" i_h=""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue