title: SQLite transaction doesn't work as expected
body: <p>I prepared 2 files, "1.php" and "2.php".</p>
  
  <p>"1.php" is like this.</p>
  
  <pre><code>&lt;?php
  $dbh = new PDO('sqlite:test1');
  $dbh-&gt;beginTransaction();
  
  print "aaa&lt;br&gt;";
  sleep(55);
  $dbh-&gt;commit();
  
  print "bbb";
  ?&gt;
  </code></pre>
  
  <p>and "2.php" is like this.</p>
  
  <pre><code>&lt;?php
  $dbh = new PDO('sqlite:test1');
  $dbh-&gt;beginTransaction();
  
  print "ccc&lt;br&gt;";
  $dbh-&gt;commit();
  print "ddd";
  ?&gt;
  </code></pre>
  
  <p>and I excute "1.php". It starts a transaction and waits 55 seconds. </p>
  
  <p>So when I immediately excute "2.php", my expectation is this:</p>
  
  <ol>
  <li>"1.php" is getting transaction and </li>
  <li>"1" holds a database lock</li>
  <li>"2" can not begin a transaction </li>
  <li>"2" can not get database lock so</li>
  <li>"2" have to wait 55 seconds</li>
  </ol>
  
  <p>BUT, but the test went another way. When I excute "2",then</p>
  
  <ol>
  <li>"2" immediately returned it's result</li>
  <li>"2" did not wait</li>
  </ol>
  
  <p>so I have to think that "1" could not get transaction, or could not get database lock.</p>
  
  <p>Can anyone help?</p>