Closed satindergrewal closed 3 years ago
Issue resolved by these 2 git commits: https://github.com/satindergrewal/lightning/commit/9be57e98dbc61a595cf2c915aca64fdd8b7c4a5d, https://github.com/satindergrewal/lightning/commit/6fb0135ddb7f14f54d071c608937ab4038af80c5
Thanks @jl777 for hints and pushing a little bit. 😃
On compiling I get the following errors:
I changed the
db_prepare
tosqlite3_prepare_v2
and now getting different errors:invoices->db
is of typedb
, but the statement wantssqlite3
type. tried usingdb
andsqlite3
type changes but couldn't find way to get past these errors.I actually tried changing the type to
db
:and the
db
related errors went away. then the errors pointed toint num_cols = sqlite3_column_count(stmt);
and I don't findsqlite3_column_count
equivalent indb_common.h
or other files...