Does MySQL allow the use of nested transactions?
Are nested transactions allowed in MySQL?
53.5k Views Asked by Alix Axel At
2
There are 2 best solutions below
0

From MySQL documentation:
Transactions cannot be nested. This is a consequence of the implicit commit performed for any current transaction when you issue a START TRANSACTION statement or one of its synonyms. https://dev.mysql.com/doc/refman/5.7/en/implicit-commit.html
No, but
InnoDB
supportsSAVEPOINTS
.You can do the following: