Date: 08/13/99
- Next message: Sascha Schumann: "Re: [PHP-DEV] Bug #2044: Compile bombs with an "ld" failure..."
- Previous message: Sascha Schumann: "Re: [PHP-DEV] Adding new extention to php4"
- In reply to: Yusuf Goolamabbas: "[PHP-DEV] Strange results with dba_* under Berkeley DB2"
- Next in thread: Yusuf Goolamabbas: "Re: [PHP-DEV] Strange results with dba_* under Berkeley DB2"
- Reply: Yusuf Goolamabbas: "Re: [PHP-DEV] Strange results with dba_* under Berkeley DB2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Aug 13, 1999 at 06:06:37PM +0800, Yusuf Goolamabbas wrote:
Content-Description: message body text
> System: Redhat 6.0/Linux 2.2.5
> Apache 1.3.6/PHP 3.0.12 compiled with mysql and BerkeleyDB 2.7.5
>
> I ran tests/dba.php and everything works out smoothly
>
> I break the tests into two programs (see attachments)
> 1) Adds a few records and traverses the records
> 2) Just traverses the records and prints the count
>
> I expected that the output from 1 would match 2, however if the
> number of records is less than <1000 it doesn't seem to match
>
> Would appreciate insights from developers on this
The basic problem is that changes (deletes) are not correctly
written to the disk, but are visible only in the current context
(e.g. the opened database).
This shows up in correctly working test scripts (e.g.
tests/dba.php), but when accessing the database afterwards, the
deletes don't show up there.
I've seen this before, but I'm not sure where the source of the
problem is. Since problems were observed only with Sleepycat's
DB2, it's probably the db2 handler or DB2 itself.
--Regards,
Sascha Schumann Consultant
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sascha Schumann: "Re: [PHP-DEV] Bug #2044: Compile bombs with an "ld" failure..."
- Previous message: Sascha Schumann: "Re: [PHP-DEV] Adding new extention to php4"
- In reply to: Yusuf Goolamabbas: "[PHP-DEV] Strange results with dba_* under Berkeley DB2"
- Next in thread: Yusuf Goolamabbas: "Re: [PHP-DEV] Strange results with dba_* under Berkeley DB2"
- Reply: Yusuf Goolamabbas: "Re: [PHP-DEV] Strange results with dba_* under Berkeley DB2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

