aboutsummaryrefslogtreecommitdiff
path: root/core/salis.c
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2026-05-25 23:00:48 +0200
committerPaul Oliver <contact@pauloliver.dev>2026-05-25 23:00:48 +0200
commit848c5cca715c514ce6e57e0fa7ef8e71b09c0b08 (patch)
tree7eb840e773c068a23819b03819d06ff2901c5b5b /core/salis.c
parentbace2d7f20acc609d552a80bb018939d5e8afab8 (diff)
Updates sql_exec function to allow reading data
Diffstat (limited to 'core/salis.c')
-rw-r--r--core/salis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/salis.c b/core/salis.c
index d6efcf2..a5b517a 100644
--- a/core/salis.c
+++ b/core/salis.c
@@ -691,7 +691,7 @@ void salis_push_data_header(void) {
log_info("Creating core table in SQLite database");
sql_exec(
- 0, NULL, NULL,
+ 0, NULL, NULL, NULL, NULL,
"create table core ("
#define EVENT_ARRAY(core, index, ev) \
#ev "_size_" #core " int not null, " \
@@ -778,7 +778,7 @@ void salis_push_data_line(void) {
log_info("Pushing row to core table in SQLite database");
sql_exec(
- CORES * EVENT_ARRAYS_COUNT, (const void **)blobs, (int *)blob_sizes,
+ CORES * EVENT_ARRAYS_COUNT, (const void **)blobs, (int *)blob_sizes, NULL, NULL,
"insert into core ("
#define EVENT_ARRAY(core, index, ev) \
#ev "_size_" #core ", " \