diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-08-18 17:53:57 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-08-18 17:53:57 +0200 |
commit | bc1214f25e7c9525336b34e09aec1f1db82b9894 (patch) | |
tree | c3a437f168aac178c17b96993c9b47ca56e5d3ed /ext/dba | |
parent | 761d2f629b7a08d6532c74bd077a6ee32bca3a9c (diff) | |
download | php-git-bc1214f25e7c9525336b34e09aec1f1db82b9894.tar.gz |
Fix broken test include
To avoid that the test stalls, we must always use `t` mode.
Diffstat (limited to 'ext/dba')
-rw-r--r-- | ext/dba/tests/dba_handler.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/tests/dba_handler.inc b/ext/dba/tests/dba_handler.inc index a950e903af..0f348bc01e 100644 --- a/ext/dba/tests/dba_handler.inc +++ b/ext/dba/tests/dba_handler.inc @@ -40,7 +40,7 @@ do { } if ($handler != 'cdb') { $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) { + if (($dba_reader = @dba_open($db_filename, 'r'.$lock_flag.'t', $handler))===false) { echo "Read during write: not allowed\n"; } else { echo "Read during write: allowed\n"; |