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
22 lines
649 B
Bash
Executable File
22 lines
649 B
Bash
Executable File
#!/bin/sh
|
|
DB=`../getDatabaseName.sh tpch1tc`
|
|
|
|
if [ -z "$MYSQLCMD" ]; then
|
|
MYSQLCMD="/usr/local/Calpont/mysql/bin/mysql --defaults-file=/usr/local/Calpont/mysql/my.cnf -u root"
|
|
export MYSQLCMD
|
|
fi
|
|
|
|
echo "Test still running." > diff.txt
|
|
#
|
|
# Run the memLimits.sql script.
|
|
#
|
|
echo "Running UM joins at 4GB TotalUmMemory limit. Takes a while."
|
|
$MYSQLCMD $DB -f -n -vvv < joins.sql > joins.sql.log 2>&1
|
|
|
|
#
|
|
# Run a diff report.
|
|
#
|
|
egrep -v "MaxMem|count|getstats|sec|--|Bye" joins.sql.log | grep "|" > diff.log
|
|
egrep -v "MaxMem|count|getstats|sec|--|Bye" joins.sql.ref.log | grep "|" > diff.ref.log
|
|
diff diff.log diff.ref.log > diff.txt 2>&1
|