cvs: php-src /ext/dba/tests dba_handler.inc
| From: | Marcus Boerger | Date: | Sun, 14 Dec 2003 22:09:38 +0000 |
| Subject: | cvs: php-src /ext/dba/tests dba_handler.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25184@lists.php.net to get a copy of this message | ||
helly Sun Dec 14 17:09:38 2003 EDT
Modified files:
/php-src/ext/dba/tests dba_handler.inc
Log:
Change to more complicated 'c' more
Index: php-src/ext/dba/tests/dba_handler.inc
diff -u php-src/ext/dba/tests/dba_handler.inc:1.10 php-src/ext/dba/tests/dba_handler.inc:1.11
--- php-src/ext/dba/tests/dba_handler.inc:1.10 Thu Dec 26 23:46:40 2002
+++ php-src/ext/dba/tests/dba_handler.inc Sun Dec 14 17:09:28 2003
@@ -36,7 +36,7 @@
echo "Error creating database\n";
}
if ($handler != 'cdb') {
- $db_writer = dba_open($db_filename, 'w'.$lock_flag, $handler);
+ $db_writer = dba_open($db_filename, 'c'.$lock_flag, $handler);
if (($dba_reader = @dba_open($db_filename, 'r'.$lock_flag.($lock_flag ? 't' :
''), $handler))===false) {
echo "Read during write: not allowed\n";
} else {