You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-15 22:22:17 +03:00
32 lines
691 B
Bash
Executable File
32 lines
691 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Test 511. Repeats unions at the edge of TotalUmMemory set to 4G to monitor memory.
|
|
#
|
|
TEST=test511
|
|
STATUSTEXT="511 Repeat Union Query: "
|
|
|
|
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 Incomplete" > $TEST.status
|
|
|
|
cd $TEST
|
|
./go511.sh
|
|
cd ..
|
|
|
|
#
|
|
# Populate the .status file.
|
|
#
|
|
diffs=`wc -l $TEST/diff.txt | awk '{print $1}'`
|
|
if [ $diffs -gt 0 ]; then
|
|
echo "$STATUSTEXT Failed (check $TEST/diff.txt)" > $TEST.status
|
|
else
|
|
echo "$STATUSTEXT Passed" > $TEST.status
|
|
fi
|
|
|
|
cat $TEST.status
|
|
|