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

Function PrepareRawOrDie

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

Source from the content-addressed store, hash-verified

75}
76
77sqlite3_stmt* PrepareRawOrDie(sqlite3* db, const char* sql) {
78 sqlite3_stmt* stmt = nullptr;
79 int rc = sqlite3_prepare_v2(db, sql, -1, &stmt, nullptr);
80 CHECK_EQ(SQLITE_OK, rc) << sql;
81 return stmt;
82}
83
84Status SetPragma(Sqlite* db, const char* pragma, const StringPiece& value) {
85 if (value.empty()) return Status::OK();

Callers 1

OpenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected