summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--ext/dba/dba_cdb.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6f601b17c4..2df0938734 100644
--- a/NEWS
+++ b/NEWS
@@ -35,6 +35,7 @@ PHP 4 NEWS
- Fixed a bug in GD's truecolor TTF handling. (Derick)
- Fixed several 64-bit problems. (Dave)
- Fixed several errors in hwapi extension. Objects weren't handled properly. (Uwe)
+- Fixed Bug #23188 (CDB databases created with 'c' mode do not work). (Marcus)
- Fixed bug #23152 ($http_response_header empty on invalid URLs) (Ilia)
- Fixed bug #23102 (integer overflow in exif_iif_add_value()). (Ilia)
- Fixed bug #23093 (highlight_string() crashed with __FUNCTION__). (Jani)
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 */