Omit BEGIN/COMMIT statements for empty transactions
#32647

eugeneius wants to merge eugeneius:lazy_transactions into rails:master

We do not currently have an analysis of these two commits