ID:               36436
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nobody at example dot org
-Status:           Assigned
+Status:           Closed
 Bug Type:         DBM/DBA related
-Operating System: linux 2.6 AMD64
+Operating System: *
 PHP Version:      5.1.2
 Assigned To:      helly
 New Comment:

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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2006-02-17 23:42:52] nobody at example dot org

Description:
------------
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:
---------------
<?php

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

?>

Expected result:
----------------
b0rk

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

Error string is from bdb.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36436&edit=1

Reply via email to