Opened 14 years ago

Closed 14 years ago

#3503 closed defect (fixed)

Spatialite: avoid executing some Spatialite functions several times when issuing SQL queries

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.8.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords: sqlite spatialite
Cc:

Description

When running some spatialite functions that modify the DB with ogrinfo (like ogrinfo -al foo.sqlite -sql "SELECT CreateSpatialIndex('test','GEOMETRY')"), the request is run several times (to establish the feature defn, the feature count and then when iterating the result), which should be avoided to save error messages.

Change History (1)

comment:1 by Even Rouault, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk (r19205). Tested in r19206

Note: See TracTickets for help on using tickets.