1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Fix post-mysql-install

It was executing based on a condition that will never be true
This commit is contained in:
Andrew Hutchings
2019-11-15 15:30:04 +00:00
parent a396b8cb80
commit 45f3dd294f

View File

@ -53,28 +53,25 @@ for arg in "$@"; do
fi
done
if [ -x mysql-Columnstore ]; then
# Restart in the same way that mysqld will be started normally.
mysql-Columnstore stop >/dev/null 2>&1
sleep 2
mysql-Columnstore start --skip-grant-tables
# Restart in the same way that mysqld will be started normally.
mysql-Columnstore stop >/dev/null 2>&1
sleep 2
mysql-Columnstore start --skip-grant-tables
sleep 5
# Install various Calpont stuff...
install_mcs_mysql.sh --tmpdir=$tmpdir
checkForError
if [ $? -ne 0 ]; then
echo "ERROR: Invalid password in .my.cnf, or Columnstore plugin install missing"
mysql-Columnstore stop
sleep 2
exit 2;
fi
mysql-Columnstore stop
sleep 5
# Install various Calpont stuff...
install_mcs_mysql.sh --tmpdir=$tmpdir
checkForError
if [ $? -ne 0 ]; then
echo "ERROR: Invalid password in .my.cnf, or Columnstore plugin install missing"
mysql-Columnstore stop
sleep 2
exit 2;
fi
mysql-Columnstore stop
exit 0