We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 067d7dd commit 1425449Copy full SHA for 1425449
src/providers/mssql/qgsmssqlprovider.cpp
@@ -317,14 +317,14 @@ void QgsMssqlProvider::loadFields()
317
while ( mQuery.next() )
318
{
319
QString sqlTypeName = mQuery.value( 5 ).toString();
320
- QVariant::Type sqlType = DecodeSqlType( sqlTypeName );
321
if ( sqlTypeName == "geometry" || sqlTypeName == "geography" )
322
323
mGeometryColName = mQuery.value( 3 ).toString();
324
mGeometryColType = sqlTypeName;
325
}
326
else
327
+ QVariant::Type sqlType = DecodeSqlType( sqlTypeName );
328
if ( sqlTypeName == "int identity" || sqlTypeName == "bigint identity" )
329
mFidColName = mQuery.value( 3 ).toString();
330
mAttributeFields.insert(
0 commit comments