Skip to content
Permalink
Browse files

Fix spell check/compiler warnings

  • Loading branch information
mrylov authored and nyalldawson committed Apr 7, 2021
1 parent a409c82 commit 0ed449bb51c60365ea2b3b0e4dde63e853848fa2
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/providers/hana/qgshanaconnection.cpp
@@ -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;
}

@@ -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 );

0 comments on commit 0ed449b

Please sign in to comment.