Permalink
Browse files

Adding service= as an alias for db= in the connect string.

  • Loading branch information...
pfedor committed Dec 6, 2012
1 parent 80d4565 commit 34b4f7bb9f99318870167125c27129bc700b1f31
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/backends/mysql/session.cpp
@@ -219,7 +219,8 @@ void parse_connect_string(const string & connectString,
*password = val;
*password_p = true;
}
else if ((par == "db" or par == "dbname") and not *db_p)
else if ((par == "db" or par == "dbname" or par == "service") and
not *db_p)
{
*db = val;
*db_p = true;

0 comments on commit 34b4f7b

Please sign in to comment.