Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
|
@@ -27,7 +27,7 @@ |
|
|
|
|
|
#include "odbc/PreparedStatement.h" |
|
|
|
|
|
QgsHanaProviderResultIterator::QgsHanaProviderResultIterator( QgsHanaResultSetRef&& resultSet ) |
|
|
QgsHanaProviderResultIterator::QgsHanaProviderResultIterator( QgsHanaResultSetRef &&resultSet ) |
|
|
: mResultSet( std::move( resultSet ) ) |
|
|
, mNumColumns( mResultSet->getMetadata().getColumnCount() ) |
|
|
, mNextRow( mResultSet->next() ) |
|
|
|
@@ -23,13 +23,13 @@ |
|
|
|
|
|
struct QgsHanaEmptyProviderResultIterator: public QgsAbstractDatabaseProviderConnection::QueryResult::QueryResultIterator |
|
|
{ |
|
|
QVariantList nextRow() override { return QVariantList(); } |
|
|
bool hasNextRow() const override { return false; } |
|
|
QVariantList nextRow() override { return QVariantList(); } |
|
|
bool hasNextRow() const override { return false; } |
|
|
}; |
|
|
|
|
|
struct QgsHanaProviderResultIterator: public QgsAbstractDatabaseProviderConnection::QueryResult::QueryResultIterator |
|
|
{ |
|
|
QgsHanaProviderResultIterator( QgsHanaResultSetRef&& resultSet ); |
|
|
QgsHanaProviderResultIterator( QgsHanaResultSetRef &&resultSet ); |
|
|
QVariantList nextRow() override; |
|
|
bool hasNextRow() const override { return mNextRow; } |
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.