0

While running MySQL queries with the intention to be inside a transaction control, I often forget to issue the statement - START TRANSACTION; and keep on creating multiple SAVEPOINT only in the end when I try to return to a particular SAVEPOINT I realize that I have not started the transaction in the first place. In this way I wasted last 1 hour.

So, while supposedly doing transactions and creating savepoints is it possoble to check whether I have started transaction or not?

4

0 回答 0