title: Rollback fails due to no free space
body: <p>I am using QSqlDatabase to access my sqlite3 database.</p>
  
  <p>When the INSERT command fails because of no free disk space, the rollback is going to fail as well with next messages in my log :</p>
  
  <pre><code>Database error : disk I/O error
  Database driver error : Unable to fetch row
  Command = INSERT OR FAIL INTO Procedure ( ProcedureUUID, ProcedureGroupUUID, DefaultLocale, Author, CanBeDeleted, VersionMajor, VersionMinor, VersionMaintenance, VersionBuild ) VALUES( :ProcedureUUID, :ProcedureGroupUUID, :DefaultLocale, "User", 1, 0, 0, 0, 0 );
  </code></pre>
  
  <p>(I am trying to log every event).</p>
  
  <p>In my code, I am opening a database, starting the transaction and then I execute queries. In a case any query fails, I do a rollback.</p>
  
  <p>I expected the rollback to be successful every time, but it seams like it is not the case.</p>
  
  <p>Can someone explains what are the cases when the rollback fails?
  And how to debug this problem.</p>
  
  <p>Thanks</p>
  
  <hr>
  
  <p>EDIT :</p>
  
  <p>Can it be that I can not do the rollback, because the first SQL command failed?</p>