#48335 [Opn->Csd]: dba_open can only create files in DBBtree file format

From: Date: Thu, 19 Nov 2009 10:20:41 +0000
Subject: #48335 [Opn->Csd]: dba_open can only create files in DBBtree file format
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3222@lists.php.net to get a copy of this message
ID: 48335 Updated by: vrana@php.net Reported By: carsten_sttgt at gmx dot de -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2009-11-19 10:20:40] svn@php.net Automatic comment from SVN on behalf of vrana Revision: http://svn.php.net/viewvc/?view=revision&revision=290970 Log: Created in BTree mode (bug #48335) ------------------------------------------------------------------------ [2009-05-19 18:22:06] carsten_sttgt at gmx dot de Sorry, wrong summary. Changed DBHash to DBBtree. ------------------------------------------------------------------------ [2009-05-19 18:14:49] carsten_sttgt at gmx dot de Description: ------------ Hello, in addition to bug #48270 After looking in dba_db4.c, PHP is always using DB_BTREE as creation mode, if you use "c" or "n" as mode parameter for dba_open() and a database is newly created. It's not possible to create databases with the DB file format (or access method) Hash, Queue and Recno. See: http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/db_open.html http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/C/accessmethods.html This limitation should be mentioned in the manual at: http://de.php.net/manual/en/function.dba-open.php http://de.php.net/manual/en/dba.requirements.php Don't have the sources for db3/2. Maybe it's similar there. Regards, Carsten ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48335&edit=1

« previous php.doc.bugs (#3222) next »