| 75 | } |
| 76 | |
| 77 | void 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 | |
| 91 | void sql_bind_int(sqlite3* db, sqlite3_stmt* stmt, const char* name, int value) |
| 92 | { |
nothing calls this directly
no test coverage detected