Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#1864 closed defect (invalid)

OGRLayer::TestCapability not reporting capabilities correctly in mysql driver

Reported by: frdcn Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: 1.4.2
Severity: normal Keywords:
Cc:

Description

For mysql OGRLayer::TestCapability method only reports:

Random Read, Fast Spatial filter, Fast feature count

OGRLayer documentation says that "SequentialWrite" is related to CreateFeature() and "RandomWrite" is related with SetFeature()

I have tested and both CreateFeature() and SetFeature() work correctly though not reported by TestCapability().

Attachments (1)

mysqldriverticket1864.patch (428 bytes ) - added by frdcn 16 years ago.
Patch to make mysql driver report correctly its capabilities

Download all attachments as: .zip

Change History (3)

by frdcn, 16 years ago

Attachment: mysqldriverticket1864.patch added

Patch to make mysql driver report correctly its capabilities

comment:1 by Even Rouault, 16 years ago

Resolution: invalid
Status: newclosed

This patch is in fact unnecessary as RandomWrite and SequentialWrite are reported by OGRMySQLTableLayer::TestCapability.

comment:2 by Even Rouault, 16 years ago

In fact, this was fixed as #2184

Note: See TracTickets for help on using tickets.