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
27 lines
322 B
Bash
Executable File
27 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#
|
|
# Parms:
|
|
# numeric id (required)
|
|
# database (optional) defaults to tpch1 if not provided.
|
|
|
|
session=$1
|
|
db=tpch1
|
|
|
|
if [ $# -gt 1 ]
|
|
then
|
|
db=$2
|
|
fi
|
|
|
|
rm -rf $1
|
|
mkdir $1
|
|
|
|
for i in `ls *.sql`
|
|
do
|
|
echo Session $session is running $i
|
|
$MYSQLCMD $db < $i > ./$1/$i.log 2>&1
|
|
done
|
|
|
|
echo Session $session completed.
|
|
|