fix: database types
This commit is contained in:
parent
beea18f70b
commit
b3f75f4004
10 changed files with 76 additions and 55 deletions
helpers
|
@ -37,7 +37,7 @@ helpers::create_sql_filtered_query(const char *sql, sql_filter_builder **filters
|
|||
|
||||
if(filter->bind_func == (intptr_t)&sqlite3_bind_int)
|
||||
{
|
||||
sqlite3_bind_int(stmt, i + 1, (int)(intptr_t)filter->value);
|
||||
sqlite3_bind_int(stmt, i + 1, *((int*)filter->value));
|
||||
}
|
||||
if(filter->bind_func == (intptr_t)&sqlite3_bind_text)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue