[Qgis-developer] Reverse Changeset 13499

Jürgen E. Fischer jef at norbit.de
Tue May 18 01:15:19 EDT 2010


Hi,

On Tue, 18. May 2010 at 06:50:59 +0200, Jürgen E. Fischer wrote:
> > The reasoning behind the estimated metadata option is it only gets the table
> > row count from the table statistics, regardless of any filters.
 
> But that's wrong, when there is a where clause.

We could fetch the feature count only if we actually need it.  But that would
require to change the API and drop the const from
QgsVectorDataProvider::featureCount().

Any objections?


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list