If you choose to use the MYISAM engine but want to ensure the integrity of the data, you can only check it by writing your own data verification code. There are also methods of using temporary tables/intermediate tables on the Internet.
ε-(´・`)========
If you switch to innodb, please put your operations on the data in a, b, and c in the same transaction.
Also: Although innodb provides the function of transaction rollback, please notetry not to perform discontinuous business operations in the transaction, such as calling core third-party interfaces...( ´_`.), after all, the only thing you can remove is your database.
If you choose to use the MYISAM engine but want to ensure the integrity of the data, you can only check it by writing your own data verification code. There are also methods of using temporary tables/intermediate tables on the Internet.
ε-(´・`)========
If you switch to innodb, please put your operations on the data in a, b, and c in the same transaction.
Also: Although innodb provides the function of transaction rollback, please notetry not to perform discontinuous business operations in the transaction, such as calling core third-party interfaces...( ´_`.), after all, the only thing you can remove is your database.