Suppose I execute the following SQL statements:
start transaction; insert into someTable (userId, amount) values (33, 44);
Please note that at the end of this statement there are no commits or rollbacks. I also have no way to require the inclusion of autoCommit.
How can dba detect such an unfinished transaction? I tried using show innodb status, but it provides too much information. I try to find uncommitted transactions and force them to commit or cancel.
Thanks.
David source share