What is a transaction in MariaDB?
A transaction is a sequence of various operations. They work individually but terminates only when each operation executes successfully. Which mean once all operations have been completed only then the transaction will be successful. In case of a single operation gets fail it impacts the entire transaction as each sequence depends up to another one.