1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-17 09:41:06 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/srvswdev11/test007/.svn/text-base/counts.sh.svn-base
2016-01-06 14:08:59 -06:00

25 lines
433 B
Bash

#!/bin/bash
session=1
DB=dml
if [ -n "$1" ] ; then
session="$1"
fi
if [ -n "$2" ] ; then
DB=$2
fi
# Loop until the go7 script is done
rm -f counts.sql.log.$session
touch counts.sql.log.$session
while /bin/true; do
if [ -f stop.txt ]; then
echo "Found stop.txt. Query script $session stopping."
exit
fi
$MYSQLCMD $DB -n < counts.sql >> counts.sql.log.$session 2>&1
done