add missing immutable_query arg in example.c

main
Chris 1 year ago
parent 5753cf5e4d
commit 4845cbae6a

@ -12,7 +12,7 @@
void run_query(int32_t db_id, const char *query) { void run_query(int32_t db_id, const char *query) {
const char *empty_params = "{}"; const char *empty_params = "{}";
char *res; char *res;
res = cozo_run_query(db_id, query, empty_params); res = cozo_run_query(db_id, query, empty_params, false);
printf("%s\n", res); printf("%s\n", res);
cozo_free_str(res); cozo_free_str(res);
} }
@ -32,4 +32,4 @@ int main() {
cozo_close_db(db_id); cozo_close_db(db_id);
return 0; return 0;
} }

Loading…
Cancel
Save