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

change engine

This commit is contained in:
david hill
2016-05-19 09:24:39 -05:00
parent 2865b3a4eb
commit a6f8773511

View File

@ -24,24 +24,24 @@ checkForError() {
rm -f /tmp/error.check
#---------------------------------------------------------------------------
# See if engine infinidb exist
# See if engine columnstore exist
#---------------------------------------------------------------------------
echo "checking for engine infinidb..."
echo "checking for engine columnstore..."
$installdir/mysql/bin/mysql \
--defaults-file=$installdir/mysql/my.cnf \
--user=root $pwprompt \
--execute='show engines;' \
calpontsys | grep -i infinidb
calpontsys | grep -i columnstore
#
# Add compressiontype column to SYSCOLUMN if applicable
#
if [ $? -ne 0 ]; then
echo "infinidb doesn't exist"
echo "columnstore doesn't exist"
return 1
fi
echo "infinidb exist"
echo "columnstore exist"
return 0;
}