Error

Error Number: 1442
Error Code: ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG
SQL State: HY000
ODBC State:
Message: Can't update table '%s' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.

Explanation

In progress ...

Additional reading

In progress ...