Skip to content
Browse files

CAS is populated on SET

  • Loading branch information...
1 parent d47cf35 commit 93a8d506cccdf95f90e7a566df4b48bd2bdbddb1 @mnunberg committed Jan 28, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 Client.xs
  2. +1 −1 callbacks.c
View
1 Client.xs
@@ -127,6 +127,7 @@ static SV *PLCB_set_common(SV *self,
} else {
wait_for_single_response(object);
plcb_ret_set_err(object, ret_av, syncp->err);
+ plcb_ret_set_cas(object, ret_av, &syncp->cas);
}
bless_return(object, ret_rv, ret_av);
}
View
2 callbacks.c
@@ -49,7 +49,7 @@ void plcb_callback_storage(
libcouchbase_error_t err,
const void *key, size_t nkey,
uint64_t cas)
-{
+{
PLCB_sync_t *syncp = plcb_sync_cast(cookie);
syncp_assign_keys(syncp, err, key, nkey, cas);
signal_done(syncp);

0 comments on commit 93a8d50

Please sign in to comment.
Something went wrong with that request. Please try again.