| 305 | } |
| 306 | |
| 307 | static bool has_table_desc(struct table_desc **tables, struct table_desc *t) |
| 308 | { |
| 309 | for (size_t i = 0; i < tal_count(tables); i++) { |
| 310 | if (tables[i] == t) |
| 311 | return true; |
| 312 | } |
| 313 | return false; |
| 314 | } |
| 315 | |
| 316 | static struct column *find_column(const struct table_desc *td, |
| 317 | const char *dbname) |