You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-520
This commit is contained in:
@ -60,7 +60,7 @@ if [ $USER != "root" ]; then
|
||||
profileFile=$prefix/.bashrc
|
||||
fi
|
||||
|
||||
. .$profileFile
|
||||
. $profileFile
|
||||
fi
|
||||
|
||||
# Source function library.
|
||||
|
@ -34,7 +34,7 @@ if [ $USER != "root" ]; then
|
||||
profileFile=$prefix/.bashrc
|
||||
fi
|
||||
|
||||
. .$profileFile
|
||||
. $profileFile
|
||||
fi
|
||||
|
||||
# Source function library.
|
||||
|
@ -20,7 +20,7 @@ if [ $USER != "root" ]; then
|
||||
profileFile=$prefix/.bashrc
|
||||
fi
|
||||
|
||||
. .$profileFile
|
||||
. $profileFile
|
||||
fi
|
||||
|
||||
# Source function library.
|
||||
|
@ -156,7 +156,17 @@ fi
|
||||
|
||||
}
|
||||
|
||||
makeDir() {
|
||||
test -d /var/log/mariadb/columnstore || mkdir -p /var/log/mariadb/columnstore >/dev/null 2>&1
|
||||
test -d /var/log/mariadb/columnstore/archive || mkdir /var/log/mariadb/columnstore/archive >/dev/null 2>&1
|
||||
test -d /var/log/mariadb/columnstore/corefiles || mkdir /var/log/mariadb/columnstore/corefiles >/dev/null 2>&1
|
||||
test -d /var/log/mariadb/columnstore/trace || mkdir /var/log/mariadb/columnstore/trace >/dev/null 2>&1
|
||||
chmod 777 -R /var/log/mariadb/columnstore
|
||||
chown $user:$user -R /var/log/mariadb
|
||||
}
|
||||
|
||||
install() {
|
||||
makeDir
|
||||
checkSyslog
|
||||
if [ ! -z "$syslog_conf" ] ; then
|
||||
$installdir/bin/setConfig -d Installation SystemLogConfigFile ${syslog_conf} >/dev/null 2>&1
|
||||
|
@ -19,7 +19,7 @@ if [ $USER != "root" ]; then
|
||||
profileFile=$prefix/.bashrc
|
||||
fi
|
||||
|
||||
. .$profileFile
|
||||
. $profileFile
|
||||
fi
|
||||
|
||||
# Source function library.
|
||||
|
@ -19,7 +19,7 @@ if [ $USER != "root" ]; then
|
||||
profileFile=$prefix/.bashrc
|
||||
fi
|
||||
|
||||
. .$profileFile
|
||||
. $profileFile
|
||||
fi
|
||||
|
||||
# Source function library.
|
||||
|
@ -19,7 +19,7 @@ if [ $USER != "root" ]; then
|
||||
profileFile=$prefix/.bashrc
|
||||
fi
|
||||
|
||||
. .$profileFile
|
||||
. $profileFile
|
||||
fi
|
||||
|
||||
# Source function library.
|
||||
|
@ -19,7 +19,7 @@ if [ $USER != "root" ]; then
|
||||
profileFile=$prefix/.bashrc
|
||||
fi
|
||||
|
||||
. .$profileFile
|
||||
. $profileFile
|
||||
fi
|
||||
|
||||
# Source function library.
|
||||
|
@ -23,7 +23,7 @@ if [ $USER != "root" ]; then
|
||||
profileFile=$prefix/.bashrc
|
||||
fi
|
||||
|
||||
. .$profileFile
|
||||
. $profileFile
|
||||
fi
|
||||
|
||||
# Source function library.
|
||||
@ -35,7 +35,7 @@ if [ -z "$COLUMNSTORE_INSTALL_DIR" ]; then
|
||||
COLUMNSTORE_INSTALL_DIR=/usr/local/mariadb/columnstore
|
||||
fi
|
||||
|
||||
export COLUMNSTORE_INSTALL_DIR=$COLUMNSTORE_INSTALL_DIR
|
||||
export COLUMNSTORE_INSTALL_DIR=$COLUMNSTORE_INSTALL_DI
|
||||
export COLUMNSTORE_INSTALL_DIR=$COLUMNSTORE_INSTALL_DIR
|
||||
|
||||
test -f $COLUMNSTORE_INSTALL_DIR/post/functions && . $COLUMNSTORE_INSTALL_DIR/post/functions
|
||||
|
Reference in New Issue
Block a user