mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue