I want to be sure that no incomplete updates are done because of a user interrupted PHP script (which does some queries, updates, inserts or whatever which all rely on each other)
With transactions I commit the changes permanent when everything went fine and on the end of a script. Is it...
Thanks, but I know about that. The documantation says that atomic operations are faster and as good as transactions so I'm curious on how I would solve my problem without transactions.
Is it even possible?
I've read about it in the Documentation but I'm not sure how I can replace transactions with locks or atomic operations.
I have an app written in PHP which sometimes needs more stuff than just a query done in one script. To be sure that no corrupted data or incomplete data is saved in the db...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.