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 ef838c7 commit 345458eCopy full SHA for 345458e
src/providers/spatialite/qgsspatialitefeatureiterator.cpp
@@ -109,8 +109,18 @@ bool QgsSpatiaLiteFeatureIterator::nextFeature( QgsFeature& feature )
109
110
bool QgsSpatiaLiteFeatureIterator::rewind()
111
{
112
- // TODO: implement. use sqlite3_reset
113
- return false;
+ if ( mClosed )
+ return false;
114
+
115
+ if ( sqlite3_reset( sqliteStatement ) == SQLITE_OK )
116
+ {
117
+ return true;
118
+ }
119
+ else
120
121
122
123
+}
124
}
125
126
bool QgsSpatiaLiteFeatureIterator::close()
0 commit comments