You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
ColumnStore now uses standard bin/lib paths for pretty much everything. Data path is now hard-coded to /var/lib/columnstore. This patch also: * Removes v1 decompression * Removes a bunch of unneeded files * Removes COLUMNSTORE_INSTALL_DIR / $INSTALLDIR * Makes my.cnf.d work for all platforms (MCOL-3558) * Changes configcpp to use recursive mutex (fixes possible config write deadlock) * Fixes MCOL-3599 Fix regr functions, The library was installed in the wrong location * Fixes a bunch of Ubuntu packaging issues * Changes the binary names of several of the executables so as not to clash with potential executables from other packages
34 lines
768 B
Bash
Executable File
34 lines
768 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# $Id: post-mysqld-install 3661 2013-06-25 22:04:33Z dhill $
|
|
#
|
|
# Post-install steps for columnstore-mysql install
|
|
|
|
user=mysql
|
|
tmpdir="/tmp"
|
|
|
|
password=" "
|
|
pwprompt=
|
|
|
|
if [ $EUID -ne 0 ]; then
|
|
USER=`whoami 2>/dev/null`
|
|
user=$USER
|
|
fi
|
|
|
|
for arg in "$@"; do
|
|
if [ `expr -- "$arg" : '--user='` -eq 7 ]; then
|
|
user="`echo $arg | awk -F= '{print $2}'`"
|
|
elif [ $(expr -- "$arg" : '--password=') -eq 11 ]; then
|
|
password="$(echo $arg | awk -F= '{print $2}')"
|
|
elif [ $(expr -- "$arg" : '--tmpdir=') -eq 9 ]; then
|
|
tmpdir="$(echo $arg | awk -F= '{print $2}')"
|
|
else
|
|
echo "post-mysqld-install: ignoring unknown argument: $arg" 1>&2
|
|
fi
|
|
done
|
|
|
|
### Don't give the user the notes, we'll fix them ourselves...
|
|
mysql_install_db --rpm --user=$user >/dev/null
|
|
|
|
exit 0
|