Translations:Manual:$wgDBtransactions/12/en

If it did not, the engine does a rollback automatically, so that the data in the DB is kept consistent (without MediaWiki having to take additional steps).