MySQL error code
MySQL error 1422
MySQL server error 1422 is ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG, reported with SQLSTATE HY000.
Explicit or implicit commit is not allowed in stored function or trigger.
| Error | 1422 |
|---|---|
| Name | ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG |
| SQLSTATE | HY000 |
| Group | Server errors |
Source: MySQL 8.4 Error Reference