| 37 | } |
| 38 | |
| 39 | void db_bind_int(struct db_stmt *stmt, int pos, int val) |
| 40 | { |
| 41 | assert(pos < tal_count(stmt->bindings)); |
| 42 | memcheck(&val, sizeof(val)); |
| 43 | stmt->bindings[pos].type = DB_BINDING_INT; |
| 44 | stmt->bindings[pos].v.i = val; |
| 45 | } |
| 46 | |
| 47 | int db_col_int(struct db_stmt *stmt, const char *colname) |
| 48 | { |
no outgoing calls
no test coverage detected