Opened 16 years ago
Closed 16 years ago
#2184 closed defect (fixed)
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?
Note:
See TracTickets
for help on using tickets.
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).