cvs: pear /MDB/tests MDB_usage_testcase.php
| From: | Lukas Smith | Date: | Tue, 23 Sep 2003 13:37:06 +0000 |
| Subject: | cvs: pear /MDB/tests MDB_usage_testcase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13016@lists.php.net to get a copy of this message | ||
lsmith Tue Sep 23 09:37:06 2003 EDT
Modified files:
/pear/MDB/tests MDB_usage_testcase.php
Log:
added missing freeResult call
Index: pear/MDB/tests/MDB_usage_testcase.php
diff -u pear/MDB/tests/MDB_usage_testcase.php:1.48 pear/MDB/tests/MDB_usage_testcase.php:1.49
--- pear/MDB/tests/MDB_usage_testcase.php:1.48 Tue Sep 23 08:53:45 2003
+++ pear/MDB/tests/MDB_usage_testcase.php Tue Sep 23 09:37:06 2003
@@ -41,7 +41,7 @@
// | Author: Paul Cooper <pgc@ucecom.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB_usage_testcase.php,v 1.48 2003/09/23 12:53:45 lsmith Exp $
+// $Id: MDB_usage_testcase.php,v 1.49 2003/09/23 13:37:06 lsmith Exp $
class MDB_Usage_TestCase extends PHPUnit_TestCase {
//contains the dsn of the database we are testing
@@ -386,6 +386,7 @@
$this->assertTrue($this->db->endOfResult($result), 'the query result did
not seem to have reached the end of result as expected after testing only if columns are
NULLs');
+ $this->db->freeResult($result);
}
}