DBA problem with Berkeley DB4
| 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 | ||
[2006-02-17 23:42 UTC] 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.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-02-18 18:11 UTC] helly@php.net