[Qgis-developer] New Vector API

Martin Dobias wonder.sk at gmail.com
Sun Jan 6 13:01:49 PST 2013


On Thu, Jan 3, 2013 at 10:37 AM, Matthias Kuhn <matthias.kuhn at gmx.ch> wrote:
> I've just been able to segfault:
>
> a = dataProvider.getFeatures( QgsFeatureRequest().setFilterFid( featureId )
> )
> a.rewind()
> a.next()

Hi Matthias

I was able to replicate the problem in postgres provider - I have
fixed the issues, please check again. By the way, funny thing is that
rewind() call obviously never worked correctly in postgres provider
until now (it executed "move 0" instead of "move absolute 0",
resulting in no actual move).

Please let me know if you encounter any other problems.

Martin


More information about the Qgis-developer mailing list