cvs: php4 /pear/DB mysql.php
| From: | Thomas V.V.Cox | Date: | Thu, 16 Aug 2001 08:48:56 +0000 |
| Subject: | cvs: php4 /pear/DB mysql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-550@lists.php.net to get a copy of this message | ||
cox Thu Aug 16 04:48:56 2001 EDT
Modified files:
/php4/pear/DB mysql.php
Log:
re-fix free result when $db->tableinfo($table) is called
Index: php4/pear/DB/mysql.php
diff -u php4/pear/DB/mysql.php:1.70 php4/pear/DB/mysql.php:1.71
--- php4/pear/DB/mysql.php:1.70 Wed Aug 15 19:22:32 2001
+++ php4/pear/DB/mysql.php Thu Aug 16 04:48:56 2001
@@ -674,7 +674,7 @@
}
// free the result only if we were called on a table
- if (is_resource($result)) {
+ if (is_string($result)) {
@mysql_free_result($id);
}
return $res;
@@ -689,4 +689,4 @@
// binmode
}
-?>
+?>
\ No newline at end of file