Fix selection database

This commit is contained in:
Michael RICOIS 2017-03-27 10:00:37 +02:00
parent 3835a6778e
commit 08afaf3819
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ if [ -n "$idx" ]; then
nbC=$(echo $(($nbC - 1000)))
# Nombre de lignes dans la table etablissements_tmp
output=$(mysql -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PASS < $PATH_SQL/count-dirtmp.sql)
output=$(mysql -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PASS jo < $PATH_SQL/count-dirtmp.sql)
nbT='';
for line in "$output"; do
nbT="$line"

View File

@ -38,7 +38,7 @@ if [ -n "$idx" ]; then
nbC=$(echo $(($nbC - 1000)))
# Nombre de lignes dans la table etablissements_tmp
output=$(mysql -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PASS < $PATH_SQL/count-enttmp.sql)
output=$(mysql -h$MYSQL_HOST -u$MYSQL_USER -p$MYSQL_PASS jo < $PATH_SQL/count-enttmp.sql)
nbT='';
for line in "$output"; do
nbT="$line"