Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing tester.cpp to use put instead of put_w

  • Loading branch information...
commit cbe33711d022530f821079f9ff6b541cb5b52ecd 1 parent 911859f
@vrv authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/cpp/tester.cpp
View
6 lib/cpp/tester.cpp
@@ -49,14 +49,12 @@ int main(int argc, char **argv)
for (int i = 0; i < 10; i++) {
printf("putting..");
//client.put("abc", "value");
- int64_t version = client.put_w("abc", "value");
- printf("version is %lld\n", version);
+ client.put("abc", "value");
string value = client.get("abc");
printf("%s\n", value.c_str());
printf("putting..");
- version = client.put_w("def", "value");
- printf("version is %lld\n", version);
+ client.put("def", "value");
value = client.get("def");
printf("%s\n", value.c_str());
}
Please sign in to comment.
Something went wrong with that request. Please try again.