Ticket #2184 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

MySQL Driver TestCapability("CreateField") gives wrong answer

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.5.1
Component: OGR_SF Version: 1.5.0
Severity: normal Keywords: mysql
Cc: hobu mchapman

Description

In 1.5.0 the call to pMySQLLayer->TestCapability?("CreateField?") returns FALSE, but when I try to create a field in MySQL it works fine. Should that capability be added to the MySQL driver?

Change History

Changed 4 years ago by warmerdam

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

I have added proper return values for CreateField?, DeleteFeature?, RandomWrite?, and SequentialWrite? in the OGRMySQLTableLayer class. This is in trunk (r13639) and 1.5 (r13640).

Note: See TracTickets for help on using tickets.