cvs: php4 /ext/dba dba_cdb.c
| From: | Marcus Boerger | Date: | Mon, 14 Apr 2003 21:50:48 +0000 |
| Subject: | cvs: php4 /ext/dba dba_cdb.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20278@lists.php.net to get a copy of this message | ||
helly Mon Apr 14 17:50:48 2003 EDT
Modified files:
/php4/ext/dba dba_cdb.c
Log:
Fixed Bug #23188 CDB databases created with 'c' mode do not work.
Index: php4/ext/dba/dba_cdb.c
diff -u php4/ext/dba/dba_cdb.c:1.27 php4/ext/dba/dba_cdb.c:1.28
--- php4/ext/dba/dba_cdb.c:1.27 Sat Feb 1 13:59:59 2003
+++ php4/ext/dba/dba_cdb.c Mon Apr 14 17:50:48 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dba_cdb.c,v 1.27 2003/02/01 18:59:59 helly Exp $ */
+/* $Id: dba_cdb.c,v 1.28 2003/04/14 21:50:48 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -86,10 +86,10 @@
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 */