MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / sql_bind_blob

Function sql_bind_blob

tools/upgrade-flux-file.cc:77–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void sql_bind_blob(sqlite3* db,
78 sqlite3_stmt* stmt,
79 const char* name,
80 const void* ptr,
81 size_t bytes)
82{
83 sqlCheck(db,
84 sqlite3_bind_blob(stmt,
85 sqlite3_bind_parameter_index(stmt, name),
86 ptr,
87 bytes,
88 SQLITE_TRANSIENT));
89}
90
91void sql_bind_int(sqlite3* db, sqlite3_stmt* stmt, const char* name, int value)
92{

Callers

nothing calls this directly

Calls 1

sqlCheckFunction · 0.85

Tested by

no test coverage detected