MCPcopy Create free account
hub / github.com/Kitware/VTK / prepare

Method prepare

ThirdParty/libproj/vtklibproj/src/networkfilemanager.cpp:564–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562// ---------------------------------------------------------------------------
563
564std::unique_ptr<SQLiteStatement> DiskChunkCache::prepare(const char *sql) {
565 sqlite3_stmt *hStmt = nullptr;
566 sqlite3_prepare_v2(hDB_, sql, -1, &hStmt, nullptr);
567 if (!hStmt) {
568 pj_log(ctx_, PJ_LOG_ERROR, "%s", sqlite3_errmsg(hDB_));
569 return nullptr;
570 }
571 return std::unique_ptr<SQLiteStatement>(new SQLiteStatement(hStmt));
572}
573
574// ---------------------------------------------------------------------------
575

Callers 9

RequestInformationMethod · 0.80
ReadPointRecordDataMethod · 0.80
insertMethod · 0.80
getMethod · 0.80
tryGetMethod · 0.80
proj_is_download_neededFunction · 0.80
proj_download_fileFunction · 0.80
cff_compute_max_advanceFunction · 0.80
cff_slot_loadFunction · 0.80

Calls 1

pj_logFunction · 0.85

Tested by

no test coverage detected