Re: DB_DataObject: $_query property not properly restored in DB_DataObject::fetch() ?
| From: | till | Date: | Tue, 06 May 2008 13:29:51 +0000 |
| Subject: | Re: DB_DataObject: $_query property not properly restored in DB_DataObject::fetch() ? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-50026@lists.php.net to get a copy of this message | ||
On Tue, May 6, 2008 at 2:18 PM, Markus Fischer <markus@fischer.name> wrote:
> Dear DB_DataObject developers,
>
> Using the latest stable version 1.8.8 we're experiencing the following:
>
> In fetch(), is there a reason why the $_query property is not restored to
> its initial value after the last row has been fetched in
> DB_DataObject::fetch() on line 550?
>
> The property is set to false [line 575] to indicate there is more data to
> fetch, but after the last row has been fetched there is no reason to keep
> the DataObject from being reused as far as we can see.
>
> The process of backing up $_query and restoring it is applied successfully
> in the find() method (see line 410 and 468).
>
> thanks,
> - Markus
Hey Markus,
you probably want to open a bug/feature request for this. :) The
developers then will get a note via email.
Cheers,
Till