`BEGIN;` is valid in MySQL, but not `BEGIN TRANSACTION;`: https://dev.mysql.com/doc/refman/8.4/en/commit.html But sqlparser does not preserve the exact syntax of the statement, and always formats it as `BEGIN TRANSACTION;`, causing an execution error in MySQL. Found while investigating https://github.com/sqlpage/SQLPage/issues/711
BEGIN;is valid in MySQL, but notBEGIN TRANSACTION;: https://dev.mysql.com/doc/refman/8.4/en/commit.htmlBut sqlparser does not preserve the exact syntax of the statement, and always formats it as
BEGIN TRANSACTION;, causing an execution error in MySQL.Found while investigating sqlpage/SQLPage#711