summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-04-14 21:50:48 +0000
committerMarcus Boerger <helly@php.net>2003-04-14 21:50:48 +0000
commitda540a4d3b351c8457f5fd05d87d45772b88fa94 (patch)
tree25bd7d4c94e194cc17c4fe69f127feab7f4ee575 /ext
parent3d6fccc08c3903129c91e32599ee1f7f525e82c2 (diff)
downloadphp-git-da540a4d3b351c8457f5fd05d87d45772b88fa94.tar.gz
Fixed Bug #23188 CDB databases created with 'c' mode do not work.
Diffstat (limited to 'ext')
-rw-r--r--ext/dba/dba_cdb.c2
1 files changed, 1 insertions, 1 deletions
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 */