Details
Description
Using couchbase.so, when I prepend or append an integer to an existing integer value, and subsequently "get" that key, only the most recently appended/prepended value is returned instead of the entire value of the key. Using the console I can verify that the actual server held value for the key is correct, it's just couchbase.so that doesn't return the correct value on "get". This problem seems to be isolated to integer values (which is why it hasn't been caught by your PHP Tests, which only tests string value appending/prepending).
Example PHP:
if(!$cb->get("Test6"))
{ $cb->add("Test6",rand()); }$cb->prepend("Test6", rand().",");
echo "<pre>";
$vars = $cb->get("Test6");
print_r($vars);
only outputs a single value, no matter how often you reload and re-execute...
However, when you check via console:
get Test6
VALUE Test6 1 41
1407971623,1474693532,101417852,331145725
END
get Test6
VALUE Test6 1 41
1407971623,1474693532,101417852,331145725
END
get Test6
VALUE Test6 1 230
1582106666,1487511791,1969168774,1956718300,643137240,1558088382,719325115,1737977192,922644553,1697835667,363523321,175374370,2004964137,92468065,1381011077,1588161021,1237581990,31693720,1407971623,1474693532,101417852,331145725
END