]> granicus.if.org Git - php/commitdiff
Fixed Bug #23188 CDB databases created with 'c' mode do not work.
authorMarcus Boerger <helly@php.net>
Mon, 14 Apr 2003 21:50:48 +0000 (21:50 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 14 Apr 2003 21:50:48 +0000 (21:50 +0000)
ext/dba/dba_cdb.c

index ee9d53a74d6849a1d44cf8bf940754f983b2708f..654f07f684a943c7c46ea557e0560a1e00b12323 100644 (file)
@@ -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 */