From 848c5cca715c514ce6e57e0fa7ef8e71b09c0b08 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Mon, 25 May 2026 23:00:48 +0200 Subject: Updates sql_exec function to allow reading data --- core/salis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/salis.c') 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 ", " \ -- cgit v1.3