Ambiguous id fxd.

This commit is contained in:
Kolan Sh 2015-09-11 22:19:59 +03:00
parent db056be2ca
commit 56457d9da9
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ done
# === FOR ALL REPOS FROM RHODECODE DATABASE=== # === FOR ALL REPOS FROM RHODECODE DATABASE===
for i in `seq 0 $((nrepos-1))`; do for i in `seq 0 $((nrepos-1))`; do
# === GET DATA FROM REDMINE MYSQL BASE === # === GET DATA FROM REDMINE MYSQL BASE ===
USERID=`mysql -h$REDMINE_MYSQL_HOSTNAME -u $REDMINE_MYSQL_USER -e "SELECT id USERID=`mysql -h$REDMINE_MYSQL_HOSTNAME -u $REDMINE_MYSQL_USER -e "SELECT users.id
FROM $REDMINE_MYSQL_DBNAME.users,$REDMINE_MYSQL_DBNAME.email_addresses FROM $REDMINE_MYSQL_DBNAME.users,$REDMINE_MYSQL_DBNAME.email_addresses
WHERE users.status='1' WHERE users.status='1'
AND email_addresses.address='${repos_mails[$i]}' AND email_addresses.address='${repos_mails[$i]}'