|  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
Status: Closed Package: DBM/DBA related
PHP Version: 5.1.2 OS: *
Private report: No CVE-ID:
 [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-2015 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 10:01:34 2015 UTC