Skip to content

Commit

Permalink
[mssql] Fix browser items only show tables in geometry_columns
Browse files Browse the repository at this point in the history
table, regardless of connection setting
  • Loading branch information
nyalldawson committed Oct 9, 2018
1 parent 0989e73 commit e813fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/mssql/qgsmssqldataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void QgsMssqlConnectionItem::readConnectionSettings()
mPassword = settings.value( key + "/password" ).toString();
}

mUseGeometryColumns = QgsMssqlConnection::useEstimatedMetadata( mName );
mUseGeometryColumns = QgsMssqlConnection::geometryColumnsOnly( mName );
mUseEstimatedMetadata = QgsMssqlConnection::useEstimatedMetadata( mName );
mAllowGeometrylessTables = QgsMssqlConnection::allowGeometrylessTables( mName );

Expand Down

0 comments on commit e813fe8

Please sign in to comment.