#3992 closed defect (fixed)
MSSQL spatial driver causes IDENTITY INSERT problem
Reported by: | tamas | Owned by: | tamas |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.1 |
Component: | default | Version: | 1.8.0 |
Severity: | normal | Keywords: | |
Cc: |
Description
MSSQL spatial driver causes IDENTITY INSERT problem when using -preserve_fid with ogr2ogr
Change History (3)
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 3 comment:2 by , 13 years ago
Tamas,
is there's a reason for the changesets not being identical in trunk and in 1.8 branch ? I refer to the location of the below test that is found twice in 1.8 branch and just one in trunk, and not at the same place:
if (poFeature->GetGeometryRef() != poGeom) { CPLError( CE_Warning, CPLE_NotSupported, "Geometry with FID = %d has been modified.", poFeature->GetFID() ); }
I've also noted that the "%d" causes a compiler warning since GetFID() returns a long. This should be "%ld"
Best regards,
Even
comment:3 by , 13 years ago
Replying to rouault:
is there's a reason for the changesets not being identical in trunk and in 1.8 branch ? I refer to the location of the below test that is found twice in 1.8 branch and just one in trunk, and not at the same place:
Not sure what has happened :-O Probably fixed too many things at the same time. Corrected the problems in r21942 and r21943. Thanks for the notification
Tamas
Fixed in r21931 and r21932