Ticket #1864 (closed defect: invalid)

Opened 6 years ago

Last modified 5 years ago

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

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

Change History

Changed 6 years ago by frdcn

Patch to make mysql driver report correctly its capabilities

Changed 5 years ago by rouault

  • status changed from new to closed
  • resolution set to invalid

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

Changed 5 years ago by rouault

In fact, this was fixed as #2184

Note: See TracTickets for help on using tickets.