AWS Schema Conversion Tool
User Guide (Version 1.0)

Conversion Issues with FUNCTION

Issue 5350: The function can't use statements that explicitly or implicitly begin or end a transaction, such as START TRANSACTION, COMMIT, or ROLLBACK

Revise your code to implement transaction control on the application side. Some cases that use SAVEPOINT <name>… ROLLBACK TO <name> can be converted to BEGIN … EXCEPTION … END.