[QGIS-trac] Re: [Quantum GIS] #2553: QgsDataSourceURI.setSql() doesn't support LIMIT query string

Quantum GIS qgis at qgis.org
Sat Mar 13 09:17:32 EST 2010


#2553: QgsDataSourceURI.setSql() doesn't support LIMIT query string
-----------------------------------------------------+----------------------
        Reporter:  brushtyler                        |         Owner:  nobody                 
            Type:  bug                               |        Status:  closed                 
        Priority:  major: does not work as expected  |     Milestone:  Version 1.5.0          
       Component:  Data Provider                     |       Version:  HEAD                   
      Resolution:  invalid                           |      Keywords:  qgsdatasourceuri, limit
Platform_version:                                    |      Platform:  Debian                 
        Must_fix:  No                                |   Status_info:  0                      
-----------------------------------------------------+----------------------
Changes (by jef):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 {{{LIMIT 10}}} is not a valid expression for a where clause - and that's
 what setSql is meant for.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2553#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list