| 300 | } |
| 301 | |
| 302 | static int rst_rows(const char *db, const char *raw_prefix, const char *reason) { |
| 303 | char sql[512]; |
| 304 | snprintf(sql, sizeof(sql), |
| 305 | "SELECT COUNT(*) FROM doc_link_unresolved WHERE raw LIKE '%s%%' AND reason='%s'", |
| 306 | raw_prefix, reason); |
| 307 | return dm_count(db, sql); |
| 308 | } |
| 309 | |
| 310 | TEST(rst_links_pipeline) { |
| 311 | char tmp[256]; |
no test coverage detected