title: mysql and php PDO - what happens to an uncommited transaction if connection closes unexpectedly?
body: <p>I'm aware of <a href="https://stackoverflow.com/questions/1539564/what-happens-to-an-uncommitted-transaction-when-the-connection-is-closed">this question</a> but this question is different since the DBMS is different.</p>
  
  <p>I'm developing something so, if some error is encountered, whole script terminates, sometimes while in a transaction. So what happens when a transaction isn't commited or rolled back? can it have long term effects on my machine? I once read that unclosed image resources do permanent long-term damage to the machine.</p>