We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2647d commit 7ffb9b6Copy full SHA for 7ffb9b6
1 file changed
libs/libconnector/src/connection.cpp
@@ -146,7 +146,7 @@ void Connection::generateConnectionString()
146
value.replace("'","\\'");
147
148
if(itr.first==ParamPassword && (value.contains(' ') || value.isEmpty()))
149
- value=QString("'%1'").arg(value);
+ value = QString("'%1'").arg(value);
150
151
if(!value.isEmpty())
152
{
@@ -155,7 +155,7 @@ void Connection::generateConnectionString()
155
else if(itr.first != ParamOthers)
156
connection_str += param_str.arg(itr.first, value);
157
else
158
- connection_str += value;
+ connection_str += value + " ";
159
}
160
161
0 commit comments