MySQL Disable Versioning
mysql_disable_versioningDisable optimistic concurrency control on a table by removing the version column and associated trigger.
Instructions
Disable optimistic concurrency control (OCC) on a table. Drops the _version column and its trigger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Alias for table | |
| table | No | Table to disable OCC on | |
| ifExists | No | If true, do not error if table does not exist | |
| tableName | No | Alias for table |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, QUERY_ERROR) | |
| data | No | ||
| error | No | Error message if operation failed | |
| details | No | Additional error context | |
| metrics | No | Token estimation metrics | |
| success | Yes | Whether the operation succeeded | |
| category | No | Error category (validation, query, connection, internal) | |
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable |