From: Marcus Boerger Date: Mon, 14 Apr 2003 21:50:48 +0000 (+0000) Subject: Fixed Bug #23188 CDB databases created with 'c' mode do not work. X-Git-Tag: RELEASE_0_5~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da540a4d3b351c8457f5fd05d87d45772b88fa94;p=php Fixed Bug #23188 CDB databases created with 'c' mode do not work. --- diff --git a/ext/dba/dba_cdb.c b/ext/dba/dba_cdb.c index ee9d53a74d..654f07f684 100644 --- a/ext/dba/dba_cdb.c +++ b/ext/dba/dba_cdb.c @@ -86,10 +86,10 @@ DBA_OPEN_FUNC(cdb) break; #if DBA_CDB_BUILTIN case DBA_TRUNC: - case DBA_CREAT: make = 1; file = info->fp; break; + case DBA_CREAT: case DBA_WRITER: *error = "Update operations are not supported"; return FAILURE; /* not supported */