MCPcopy Create free account
hub / github.com/apache/kvrocks / Create

Method Create

tests/cppunit/plan_executor_test.cc:354–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352 std::string ns;
353
354 static auto Create(engine::Context& ctx, redis::GlobalIndexer& indexer, std::string_view key, const std::string& ns) {
355 auto s = indexer.Record(ctx, key, ns);
356 EXPECT_EQ(s.Msg(), Status::ok_msg);
357 return *s;
358 }
359
360 ScopedUpdate(engine::Context* ctx, redis::GlobalIndexer& indexer, std::string_view key, const std::string& ns)
361 : db_ctx(ctx), rr(Create(*ctx, indexer, key, ns)), key(key), ns(ns) {}

Callers 5

TESTFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
StartMethod · 0.45

Calls 2

RecordMethod · 0.80
MsgMethod · 0.45

Tested by

no test coverage detected