| 14 | #define NSEC_IN_SEC 1000000000 |
| 15 | |
| 16 | static size_t check_bind_pos(struct db_stmt *stmt) |
| 17 | { |
| 18 | size_t pos = ++stmt->bind_pos; |
| 19 | assert(pos < tal_count(stmt->bindings)); |
| 20 | |
| 21 | return pos; |
| 22 | } |
| 23 | |
| 24 | /* Local helpers once you have column number */ |
| 25 | static bool db_column_is_null(struct db_stmt *stmt, int col) |
no outgoing calls
no test coverage detected