From 870aa90c005f77a73445f5c39f9fd9bbb7604fe8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 4 Jul 2026 20:19:34 +0100 Subject: Insert uninsirtable lines using the hostnameId recorded in the bad_lines table Includes the same fix from the previous commit which stops caching entities until the inserts are complete. Updates storeLogLine to take an insert command with the hostnameId already bound. --- src/ingestor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ingestor.hpp') diff --git a/src/ingestor.hpp b/src/ingestor.hpp index dacfdf7..1a47a1b 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -81,7 +81,7 @@ namespace WebStat { Job::Result jobStoreQueuedLines(); Job::Result jobRetryUninsertableLines(); - template void storeLogLine(DB::Connection *, const std::tuple &) const; + template void storeLogLine(DB::ModifyCommand * insert, const std::tuple &) const; IngestorSettings settings; -- cgit v1.3