title: Why am I getting an sqlite3 error 14 (unable to open database) when calling step on an sqlite3_stmt?
body: <p>I am experiencing an <em>SQLite</em> error when attempting to step on an <code>sqlite3_stmt</code>. Surprisingly, I got the error 14: <em>unable to open database file</em>.</p>
  
  <p>This is confusing as I opened the database earlier, and successfully submitted an insert into one of the tables. At no point did I close the database.</p>
  
  <pre><code>BEGIN TRANSACTION
  INSERT to table A
  INSERT to table B
  END TRANSACTION
  </code></pre>
  
  <p>When I attempt to run the second insert command, I get the failure.</p>
  
  <p>Does anyone have any idea of what might cause this issue?</p>