RE: DB_DataObject->update() - error on no changes.
| From: | Matt Erkkila | Date: | Fri, 16 Apr 2004 15:34:36 +0000 |
| Subject: | RE: DB_DataObject->update() - error on no changes. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11918@lists.php.net to get a copy of this message | ||
Still there
Error: No Data Affected By update
-----Original Message-----
From: Alan Knowles [mailto:alan@akbkhome.com]
Sent: Friday, April 16, 2004 11:21 AM
To: Matt Erkkila; pear-general@lists.php.net
Subject: Re: DB_DataObject->update() - error on no changes.
try using CVS - I've removed the error..
Regards
alan
Matt Erkkila wrote:
> When i run an update on a record that was not actually changed a
> PEAR::error() is triggered. Any reason for this? Should I be testing
> to see if changes had been made before I try and update a record?
> What would be the best way to test for that?
--
Can you help out?
Need Consulting Services or Know of a Job?
http://www.akbkhome.com