[fdo-trac] #802: mUseNesting is not right

FDO trac_fdo at osgeo.org
Wed Dec 14 23:45:10 EST 2011


#802: mUseNesting is not right
-----------------------------+----------------------------------------------
   Reporter:  ChristineBao   |       Owner:  thomasknoell
       Type:  defect         |      Status:  new         
   Priority:  critical       |   Milestone:  3.7.0       
  Component:  ODBC Provider  |     Version:  3.7.0       
   Severity:  2              |    Keywords:              
External_id:                 |  
-----------------------------+----------------------------------------------

Comment(by ChristineBao):

 The key point is () can only be ignored if OR is root operator.
 The problem happens here is when OR is root operator, it still add () to
 the filter. For example, consider the first round, it ends up:
 (A OR B)
 then second round, it ends up:
 ((A OR B) OR C)
 then third round, it ends up:
 (((A OR B) OR C) OR D)
 As you can see, the starting "(" gets more and more, and finally caused
 the trouble in ODBC execution.
 However the root OR does not need (). It has no difference of adding it or
 not.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/802#comment:7>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list