Skip to content
Permalink
Browse files

[MSSQL] Fix connection string issue for browser

  • Loading branch information
NathanW2 committed Jul 4, 2017
1 parent 502efd1 commit 62c8998f85c3d442da966965ce36f5bbad6526a6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/mssql/qgsmssqldataitems.cpp
@@ -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 )

0 comments on commit 62c8998

Please sign in to comment.
You can’t perform that action at this time.