summaryrefslogtreecommitdiff
path: root/ext/dba/tests/dba_handler.inc
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-11-20 12:39:04 +0000
committerMarcus Boerger <helly@php.net>2005-11-20 12:39:04 +0000
commit1bd7af815c72399f09d6293a79f377b367b5b01a (patch)
tree49d6568b1477228c79b7eccccc5141be6a760114 /ext/dba/tests/dba_handler.inc
parent3247484267aeac1cf8c3132d1474fd1e59fabe0a (diff)
downloadphp-git-1bd7af815c72399f09d6293a79f377b367b5b01a.tar.gz
- Do locking in lib rather then on streams
Diffstat (limited to 'ext/dba/tests/dba_handler.inc')
-rw-r--r--ext/dba/tests/dba_handler.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/tests/dba_handler.inc b/ext/dba/tests/dba_handler.inc
index c1e3c49c70..1c3f5127ef 100644
--- a/ext/dba/tests/dba_handler.inc
+++ b/ext/dba/tests/dba_handler.inc
@@ -73,7 +73,7 @@ do {
if (!empty($dba_reader)) {
dba_close($dba_reader);
}
- if (($db_file = dba_popen($db_filename, 'r'.($handler!='gdbm'?'-':''), $handler))!==FALSE) {
+ if (($db_file = dba_popen($db_filename, 'r'.($lock_flag==''?'':'-'), $handler))!==FALSE) {
if ($handler == 'dbm') {
dba_close($db_file);
}