mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
db: mark that column is unused/ignored
2022-01-25T23:41:45.2994844Z ----------------------------- Captured stderr call ----------------------------- 2022-01-25T23:41:45.2995230Z lightningd: Never accessed column 1 in query SELECT 1 FROM offers WHERE offer_id = ?;
This commit is contained in:
parent
ce12d2b8a9
commit
453ef7f0ce
@ -4692,6 +4692,7 @@ bool wallet_offer_create(struct wallet *w,
|
||||
db_query_prepared(stmt);
|
||||
|
||||
if (db_step(stmt)) {
|
||||
db_col_ignore(stmt, "1");
|
||||
tal_free(stmt);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user