Bug #8537 [Opn->Csd]: Copy&paste errors in MDB2 docs
| From: | lsmith@php.net | Date: | Tue, 22 Aug 2006 21:04:44 +0000 |
| Subject: | Bug #8537 [Opn->Csd]: Copy&paste errors in MDB2 docs | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-8348@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=8537&edit=1
ID: 8537
Updated by: lsmith@php.net
Reported By: wiesemann at php dot net
-Status: Open
+Status: Closed
Id: 8537
Type: Bug
Package: Documentation
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2006-08-22 16:28:10] wiesemann at php dot net
Description:
------------
Quote from autoExecute() example for INSERT (same error exists for
UPDATE and DELETE):
$affectedRows = $mdb2->extended->autoExecute($table_name,
$fields_values,
MDB2_AUTOQUERY_INSERT, null, $types);
if (PEAR::isError($res)) {
die($res->getMessage());
}
Either $affectedRows or $res should be used here, not both. ;-)
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=8537&edit=1