MCPcopy Create free account
hub / github.com/acl-dev/acl / del

Method del

lib_acl_cpp/samples/benchmark/wiredtiger/main.cpp:231–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 void del(wdb_sess& sess, long long max) {
232 acl::string key;
233 long long i;
234 for (i = 0; i < max; i++) {
235 key.format("key-%d-%lld", id_, i);
236 bool ret = sess.del(key.c_str());
237 if (!ret) {
238 printf("Del failed, key=%s\r\n", key.c_str());
239 break;
240 }
241 }
242
243 printf("del over, n=%lld\r\n", i);
244 }
245
246private:
247 int id_;

Callers

nothing calls this directly

Calls 3

formatMethod · 0.45
delMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected