2002-11-01 14:23:23 +00:00
|
|
|
--TEST--
|
|
|
|
DBA CDB handler test
|
|
|
|
--SKIPIF--
|
|
|
|
<?php
|
|
|
|
require_once('skipif.inc');
|
|
|
|
if (!in_array('cdb', dba_handlers())) die('skip CDB handler not available');
|
2002-11-04 17:53:04 +00:00
|
|
|
die('skip CDB does not support replace or delete');
|
2002-11-01 14:23:23 +00:00
|
|
|
?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
require_once('test.inc');
|
|
|
|
$handler = 'cdb';
|
|
|
|
require_once('dba_handler.inc');
|
|
|
|
?>
|
|
|
|
--EXPECT--
|
|
|
|
database handler: cdb
|
|
|
|
3NYNYY
|
|
|
|
Content String 2
|
|
|
|
Content 2 replaced
|
2002-11-14 14:32:39 +00:00
|
|
|
Read during write: not allowed
|
2002-11-06 11:18:00 +00:00
|
|
|
Content 2 replaced 2nd time
|
|
|
|
The 6th value
|
|
|
|
array(3) {
|
|
|
|
["key number 6"]=>
|
|
|
|
string(13) "The 6th value"
|
|
|
|
["key2"]=>
|
|
|
|
string(27) "Content 2 replaced 2nd time"
|
|
|
|
["key5"]=>
|
|
|
|
string(23) "The last content string"
|
|
|
|
}
|