| 66 | } |
| 67 | |
| 68 | void db_bind_u64(struct db_stmt *stmt, int pos, u64 val) |
| 69 | { |
| 70 | memcheck(&val, sizeof(val)); |
| 71 | assert(pos < tal_count(stmt->bindings)); |
| 72 | stmt->bindings[pos].type = DB_BINDING_UINT64; |
| 73 | stmt->bindings[pos].v.u64 = val; |
| 74 | } |
| 75 | |
| 76 | void db_bind_blob(struct db_stmt *stmt, int pos, const u8 *val, size_t len) |
| 77 | { |
no outgoing calls