cvs: pear /PECL/sqlite/tests blankdb_oo.inc
| From: | Marcus Boerger | Date: | Sun, 22 Jun 2003 19:01:47 +0000 |
| Subject: | cvs: pear /PECL/sqlite/tests blankdb_oo.inc | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-291@lists.php.net to get a copy of this message | ||
helly Sun Jun 22 15:01:47 2003 EDT
Modified files:
/pear/PECL/sqlite/tests blankdb_oo.inc
Log:
Fix test shutdown
Index: pear/PECL/sqlite/tests/blankdb_oo.inc
diff -u pear/PECL/sqlite/tests/blankdb_oo.inc:1.1 pear/PECL/sqlite/tests/blankdb_oo.inc:1.2
--- pear/PECL/sqlite/tests/blankdb_oo.inc:1.1 Sun Jun 22 13:19:46 2003
+++ pear/PECL/sqlite/tests/blankdb_oo.inc Sun Jun 22 15:01:47 2003
@@ -3,9 +3,7 @@
function cleanup() {
global $db, $dbname;
- if ($db) {
- @$db->close();
- }
+ $db = NULL;
unlink($dbname);
}
register_shutdown_function("cleanup");