[fdo-trac] #646: Sqlite SelectAggregates on non featureclass does not apply filter

FDO trac_fdo at osgeo.org
Mon May 10 09:39:42 EDT 2010


#646: Sqlite SelectAggregates on non featureclass does not apply filter
-------------------------------+--------------------------------------------
   Reporter:  bscott           |       Owner:  traianstanev
       Type:  defect           |      Status:  new         
   Priority:  blocker          |   Milestone:  3.6.0       
  Component:  SQLite Provider  |     Version:  3.5.0       
   Severity:  3                |    Keywords:              
External_id:                   |  
-------------------------------+--------------------------------------------
 I have 2 table , created the same way using FDO
 One is a point featureclass ( with a geometry column)
 and the other is point_xy non feature class ( with x and y)

 If i run SelectAggregates against the feature class
 "select count(1) from point where key_1 = 1"
 it works fine ( return 1 )

 But if i try the same thing on the non feature class
 "select count(1) from point_xy where key_1 = 1"
 it returns the total amount of record in the table
 just like if it skipped the where clause


 I'm trying to locate the problem in the code
 but not found anything wrong yet.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/646>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list