MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Commit

Method Commit

tensorflow/core/lib/db/sqlite.cc:270–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270Status SqliteTransaction::Commit() {
271 int rc = sqlite3_step(db_->commit_);
272 if (rc != SQLITE_DONE) {
273 return PrintfStatus(rc, "COMMIT failed: [%d] %s", rc,
274 sqlite3_errmsg(db_->db_));
275 }
276 sqlite3_reset(db_->commit_);
277 sqlite3_reset(db_->begin_);
278 Begin();
279 return Status::OK();
280}
281
282} // namespace tensorflow

Callers 7

TEST_FFunction · 0.45
MaybeFlushMethod · 0.45
LOCKS_EXCLUDEDMethod · 0.45
LOCKS_EXCLUDEDMethod · 0.45
SeriesWriterClass · 0.45
SingleCommitFunction · 0.45

Calls 1

PrintfStatusFunction · 0.85

Tested by 2

TEST_FFunction · 0.36
SingleCommitFunction · 0.36