Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[MSSQL] Fix connection string issue for browser
  • Loading branch information
NathanW2 committed Jul 4, 2017
1 parent 502efd1 commit 62c8998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/mssql/qgsmssqldataitems.cpp
Expand Up @@ -71,7 +71,7 @@ void QgsMssqlConnectionItem::readConnectionSettings()
mUseEstimatedMetadata = settings.value( key + "/estimatedMetadata", false ).toBool();
mAllowGeometrylessTables = settings.value( key + "/allowGeometrylessTables", true ).toBool();

mConnInfo = "dbname='" + mDatabase + "' host=" + mHost + " user='" + mUsername + "' password='" + mPassword + '\'';
mConnInfo = "dbname='" + mDatabase + "' host='" + mHost + "' user='" + mUsername + "' password='" + mPassword + '\'';
if ( !mService.isEmpty() )
mConnInfo += " service='" + mService + '\'';
if ( mUseEstimatedMetadata )
Expand Down

0 comments on commit 62c8998

Please sign in to comment.