~avsej/libmemcached/fix-binary-increment-with-prefix

« back to all changes in this revision

Viewing changes to clients/memcapable.cc

  • Committer: Brian Aker
  • Date: 2011-06-25 01:05:26 UTC
  • mfrom: (929.1.161 libmemcached-build)
  • Revision ID: brian@tangent.org-20110625010526-el1san0tsn9wrkvr
Merge of trunk.

Show diffs side-by-side

added added

removed removed

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