How can i found out if there is transaction open in MySQL?

Posted by praksant on Stack Overflow See other posts from Stack Overflow or by praksant
Published on 2010-05-10T20:48:00Z Indexed on 2010/05/10 21:04 UTC
Read the original article Hit count: 139

Filed under:
|
|

How can i find out if there is transaction open in mySQL? I need to start new one if there is no transaction open, but i don't want to start new one if there is one running, because that would commit that running transaction.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about transactions