| 314 | } |
| 315 | |
| 316 | const void *db_col_blob(struct db_stmt *stmt, const char *colname) |
| 317 | { |
| 318 | size_t col = db_query_colnum(stmt, colname); |
| 319 | |
| 320 | if (db_column_null_warn(stmt, colname, col)) |
| 321 | return NULL; |
| 322 | |
| 323 | return stmt->db->config->column_blob_fn(stmt, col); |
| 324 | } |
| 325 | |
| 326 | char *db_col_strdup(const tal_t *ctx, |
| 327 | struct db_stmt *stmt, |
no test coverage detected