MCPcopy Create free account
hub / github.com/ElementsProject/lightning / colname_to_delete

Function colname_to_delete

db/db_sqlite3.c:435–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435static bool colname_to_delete(const char **colnames,
436 size_t num_colnames,
437 const char *columnname)
438{
439 for (size_t i = 0; i < num_colnames; i++) {
440 if (streq(columnname, colnames[i]))
441 return true;
442 }
443 return false;
444}
445
446/* Returns NULL if this doesn't look like a column definition */
447static const char *find_column_name(const tal_t *ctx,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected