commit | 7e79d9139f931e45f732de9a39cc54bedd95bd6f | [log] [tgz] |
---|---|---|
author | Attila Fazekas <afazekas@redhat.com> | Sun Mar 03 12:23:04 2013 +0100 |
committer | Attila Fazekas <afazekas@redhat.com> | Sun Mar 03 13:13:36 2013 +0100 |
tree | 7bf48a4af954193c655e2365ec26b1616717e712 | |
parent | 48053c791d32d3b61673b2061f63c36cd62861bb [diff] [blame] |
Simplify database_connection_url * does not expects dynamic scoping. * does not uses eval. Change-Id: I5ba4e5b7ffaabbb3c2bddadf9e53a2875de8b7c0
diff --git a/lib/databases/mysql b/lib/databases/mysql index 94aedc6..ec65c36 100644 --- a/lib/databases/mysql +++ b/lib/databases/mysql
@@ -115,9 +115,8 @@ } function database_connection_url_mysql { - local output=$1 - local db=$2 - eval "$output=$BASE_SQL_CONN/$db?charset=utf8" + local db=$1 + echo "$BASE_SQL_CONN/$db?charset=utf8" } # Restore xtrace