Skip to content

Commit 3c74bbb

Browse files
committed
Bug #30554489: WL#13322:PARSING ERROR IN CONNECT USING URI ON LINUX EL7.
1 parent 87f25a9 commit 3c74bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/mysql_uri.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ bool parseUri(const sql::SQLString & str, MySQL_Uri& uri)
285285
{
286286
host = host.substr(host[end_sep] == '/' ? end_sep : end_sep+1);
287287
}
288-
}while(end_sep != std::string::npos && host[end_sep] != '/');
288+
}while(end_sep != std::string::npos && host[0] != '/');
289289

290290

291291
/* Looking where schema part begins */

0 commit comments

Comments
 (0)