cvs: phpdoc /scripts/iniupdate insert_db.php make_db.php
| From: | Nuno Lopes | Date: | Wed, 05 Sep 2007 17:17:25 +0000 |
| Subject: | cvs: phpdoc /scripts/iniupdate insert_db.php make_db.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969378029@lists.php.net to get a copy of this message | ||
nlopess Wed Sep 5 17:17:25 2007 UTC
Modified files:
/phpdoc/scripts/iniupdate insert_db.php make_db.php
Log:
unset idx db resource on closure (and fix the warnings)
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/iniupdate/insert_db.php?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/scripts/iniupdate/insert_db.php
diff -u phpdoc/scripts/iniupdate/insert_db.php:1.3 phpdoc/scripts/iniupdate/insert_db.php:1.4
--- phpdoc/scripts/iniupdate/insert_db.php:1.3 Sun Dec 25 21:01:16 2005
+++ phpdoc/scripts/iniupdate/insert_db.php Wed Sep 5 17:17:24 2007
@@ -56,6 +56,7 @@
if (!$db_open) {
sqlite_close($idx);
+ unset($idx);
}
?>
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/iniupdate/make_db.php?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc/scripts/iniupdate/make_db.php
diff -u phpdoc/scripts/iniupdate/make_db.php:1.3 phpdoc/scripts/iniupdate/make_db.php:1.4
--- phpdoc/scripts/iniupdate/make_db.php:1.3 Sun Dec 25 21:01:16 2005
+++ phpdoc/scripts/iniupdate/make_db.php Wed Sep 5 17:17:24 2007
@@ -37,6 +37,7 @@
if (!$db_open) {
sqlite_close($idx);
+ unset($idx);
}
?>