mysql - how to commit a single query in a transaction -
i'm debugging complex complex stored procedure. need insert prepared queries , results in debugging table whole of procedure in enclosed between begin transactin , commit nothing stored in logging tables until commit. can not find cause of problem if raises error , rollbacks.
unfortunately mysql doesn't have autonomous transactions, log tables can use myisam storage engine. myisam doesn't have transactions, in case of rollback data inserted in myisam log table isn't "lost".
Comments
Post a Comment