mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user