| 285 | } |
| 286 | |
| 287 | const void *db_col_blob(struct db_stmt *stmt, const char *colname) |
| 288 | { |
| 289 | size_t col = db_query_colnum(stmt, colname); |
| 290 | |
| 291 | if (db_column_null_warn(stmt, colname, col)) |
| 292 | return NULL; |
| 293 | |
| 294 | return stmt->db->config->column_blob_fn(stmt, col); |
| 295 | } |
| 296 | |
| 297 | char *db_col_strdup(const tal_t *ctx, |
| 298 | struct db_stmt *stmt, |
no test coverage detected