| 483 | } |
| 484 | |
| 485 | static bool tld_step_int64(sqlite3_stmt *st, int64_t *out) { |
| 486 | if (sqlite3_step(st) != SQLITE_ROW) { |
| 487 | return false; |
| 488 | } |
| 489 | *out = sqlite3_column_int64(st, 0); |
| 490 | return true; |
| 491 | } |
| 492 | |
| 493 | /* Gathers the staging store the way tld_gather_gbuf gathers the buffer. Key |
| 494 | * strings are copied into `arena`. */ |