Fixed by making CREATE/ALTER/DROP PROCEDURE cause implicit commit.
Attach a file by drag & drop or click to upload