Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix spell check/compiler warnings
  • Loading branch information
mrylov authored and nyalldawson committed May 4, 2021
1 parent 9c8bd52 commit b7720fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/hana/qgshanaconnection.cpp
Expand Up @@ -155,6 +155,8 @@ QgsField AttributeField::toQgsField() const
// 1. Type is QVariant::String. The value is provided as WKT and editable.
// 2. Type is QVariant::ByteArray. The value is provided as BLOB and uneditable.
fieldType = QVariant::String;
else
throw QgsHanaException( QString( "Field type '%1' is not supported" ).arg( QString::number( type ) ) );
break;
}

Expand Down Expand Up @@ -761,7 +763,7 @@ void QgsHanaConnection::readQueryFields( const QString &schemaName, const QStrin
field.isUnique = isColumnUnique( schema, baseTableName, baseColumnName );
// As field comments cannot be retrieved via ODBC, we get it from SYS.TABLE_COLUMNS.
field.comment = getColumnComments( schema, baseTableName, baseColumnName );
// We skip determing srid, as query layers don't use it.
// We skip determining srid, as query layers don't use it.
}

callback( field );
Expand Down

0 comments on commit b7720fe

Please sign in to comment.