Changeset 11855

Show
Ignore:
Timestamp:
08/08/07 00:35:55 (1 year ago)
Author:
warmerdam
Message:

Clear FID on dst_feat in ogr_sqlite_4 between CreateFeature?() calls as
the SQLite driver now honours our passed in FIDs, and enforces primary
key uniqueness restraint. (#1632)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/autotest/ogr/ogr_sqlite.py

    r11065 r11855  
    176176        dst_feat.SetGeometryDirectly( geom ) 
    177177        dst_feat.SetField( 'PRFEDEA', item ) 
     178        dst_feat.SetFID( -1 ) 
    178179        gdaltest.sl_lyr.CreateFeature( dst_feat ) 
    179180