Ticket #2184 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

MySQL Driver TestCapability("CreateField") gives wrong answer

Reported by: warmerdam Assigned to: 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

01/31/08 12:41:51 changed 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).