mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Transaction fails when SQL execute #6553
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CsabaNa on GitHub (Oct 15, 2020).
Hi,
There is a bug (or i did not find any description about it).
in transaction:
~ on success commit
~ on failure rollback.
the sample:
in the
createDatabaseif otherRegister fails the rollback is just working fine it does not contain
$stmt->execute.if something goes wrong in
createDatabasethe rollback will not work all user data get place in to user table i guess the$stmt->executecommits all the transactions as well? how can it be solved?@CsabaNa commented on GitHub (Oct 15, 2020):
Actually do not need so complex sample: