Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backport] RCBC-102 Fix inconsistent return of store functions
The Bucket#set for example should return the object corresponding to arguments passed: 1.9.3p327 (main):002:0> conn.set("foo", "bar") 851339802448297984 1.9.3p327 (main):003:0> conn.set("foo" => "bar", "baz" => "foo") {"foo"=>2995536636664938496, "baz"=>16831440216388861952} But when :observe option is used, it always return it like for multi-set: 1.9.3p327 (main):004:0> conn.set("foo", "bar", :observe => {:persisted => 1}) {"foo"=>2559248876759744512} Conflicts: ext/couchbase_ext/store.c Change-Id: I86a1e3f04802e12830831d82045e06ee54092490 Reviewed-on: http://review.couchbase.org/23572 Reviewed-by: Matt Ingenthron <matt@couchbase.com> Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
- Loading branch information