1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-15 22:22:17 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/demo/getDatabaseName.sh
2016-01-06 14:08:59 -06:00

16 lines
201 B
Bash
Executable File

#!/bin/sh
db=$1
hostname=`hostname`
if [ "$hostname" == "srvalpha4.calpont.com" ]; then
if [ "$db" == "ssb100c" ]; then
db=ssb_100
elif [ "$db" == "tpch1tc" ]; then
db=tpch1t
fi
fi
echo $db