You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-17 09:41:06 +03:00
38 lines
636 B
Bash
38 lines
636 B
Bash
#!/bin/sh
|
|
#
|
|
# Test 501. Query performance test.
|
|
#
|
|
TEST=test501
|
|
STATUSTEXT="501 Query Performance : "
|
|
|
|
if [ -z "$MYSQLCMD" ]; then
|
|
MYSQLCMD="/usr/local/Calpont/mysql/bin/mysql --defaults-file=/usr/local/Calpont/mysql/my.cnf -u root"
|
|
export MYSQLCMD
|
|
fi
|
|
|
|
# Default the status to Failed.
|
|
echo "$STATUSTEXT In Progress" > $TEST.status
|
|
|
|
if [ $# -ge 1 ]
|
|
then
|
|
runName=$1
|
|
else
|
|
runName=`pwd | awk -F "/" '{print $3}'`
|
|
fi
|
|
|
|
|
|
|
|
cd $TEST
|
|
./go501.sh $runName
|
|
cd ..
|
|
|
|
cat $TEST/aaa_summary.txt > $TEST.details
|
|
|
|
#
|
|
# Populate the .status file.
|
|
#
|
|
echo "$STATUSTEXT $(cat $TEST/status.txt))" > $TEST.status
|
|
|
|
cat $TEST.status
|
|
|