This sounds like a metadata lock being held until the COMMIT.<div><br></div><div>Perhaps the same as MySQL bug 61391?</div><div>'Metadata lock held on MyISAM table when AUTOCOMMIT turned off'</div><div><a href="http://bugs.mysql.com/bug.php?id=61391">http://bugs.mysql.com/bug.php?id=61391</a></div>