title: SQLite 'Database Locked' weird error for specific queries
body: <p>I'm working on a project in Java, where, I have to make modifications in my SQLite Database.
  I connected to it and is working pretty fine, except for this weird error.</p>
  
  <pre><code>s.executeUpdate("INSERT INTO STUDENTS VALUES('S0',11)");
  ...
  //many statements... including queries
  ...
  String c2="INSERT INTO STUDENTS VALUES ('S1', 2)";
  s.executeUpdate(c2);
  s.executeUpdate("DROP TABLE STUDENTS");
  </code></pre>
  
  <p>The statements <code>s.executeUpdate("INSERT INTO STUDENTS VALUES('S0',11)");</code> and  <code>s.executeUpdate(c2);</code> run perfectly and insert rows into the database. But when it comes to the statement below, I'm getting the weird Database Locked error.
  When I changed the query to another, it also worked pretty fine. The error comes when it reaches the ending statement. More precisely, all the queries written above, i.e., the first statement of the code here work pretty fine.</p>
  
  <p>Please help me to find the bug.</p>