|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36436 DBA problem with Berkeley DB4
Submitted: 2006-02-17 23:42 UTC Modified: 2006-02-18 18:11 UTC
From: nobody at example dot org Assigned: helly (profile)
Status: Closed Package: DBM/DBA related
PHP Version: 5.1.2 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: nobody at example dot org
New email:
PHP Version: OS:


 [2006-02-17 23:42 UTC] nobody at example dot org
Berkeley DB 4.2.52 fails with error when using PHP's dba_exists() and dba_fetch() methods. Other dba handlers work fine.

Reproducable: always 

Reproduce code:

$db = dba_popen('test.db4', 'c', 'db4');
dba_insert('b0rk', 'b0rk', $db);
echo dba_fetch('b0rk', $db),"\r\n";


Expected result:

Actual result:
Notice: "DB_THREAD mandates memory allocation flag on DBT data..." 

Error string is from bdb.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-18 18:11 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 10:01:28 2024 UTC