sqlite_popen bug?
| From: | Marc Boeren | Date: | Wed, 09 Jul 2003 15:21:00 +0000 |
| Subject: | sqlite_popen bug? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-3338@lists.php.net to get a copy of this message | ||
Hi,
the following script doesn't work correctly:
<?php
$handle = sqlite_popen("sqlite.db");
var_dump($handle);
$handle = sqlite_popen("sqlite.db");
var_dump($handle);
?>
will produce
$ ./php -f sqlitetest.php
resource(1) of type (sqlite database (persistent))
resource(1) of type (Unknown)
This also happens if I call sqlite_close($handle) between the popens...
BTW, this is on the latest ext/sqlite copied to existing 4.3.1 source tree
on a Windows box.
Everything else I tested with sqlite works ok.
Cheerio, Marc.