Lines 655-661
Link Here
|
655 |
command cmd; |
655 |
command cmd; |
656 |
response rsp; |
656 |
response rsp; |
657 |
|
657 |
|
658 |
uint64_t value= 0xdeadbeefdeadcafe; |
658 |
uint64_t value= 0xdeadbeefdeadcafeULL; |
659 |
storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); |
659 |
storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); |
660 |
|
660 |
|
661 |
/* set should always work */ |
661 |
/* set should always work */ |
Lines 727-733
Link Here
|
727 |
{ |
727 |
{ |
728 |
command cmd; |
728 |
command cmd; |
729 |
response rsp; |
729 |
response rsp; |
730 |
uint64_t value= 0xdeadbeefdeadcafe; |
730 |
uint64_t value= 0xdeadbeefdeadcafeULL; |
731 |
storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); |
731 |
storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); |
732 |
|
732 |
|
733 |
/* first add should work, rest of them should fail (even with cas |
733 |
/* first add should work, rest of them should fail (even with cas |
Lines 786-792
Link Here
|
786 |
{ |
786 |
{ |
787 |
command cmd; |
787 |
command cmd; |
788 |
response rsp; |
788 |
response rsp; |
789 |
uint64_t value= 0xdeadbeefdeadcafe; |
789 |
uint64_t value= 0xdeadbeefdeadcafeULL; |
790 |
storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); |
790 |
storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); |
791 |
|
791 |
|
792 |
/* first replace should fail, successive should succeed (when the |
792 |
/* first replace should fail, successive should succeed (when the |