diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-07-04 20:19:34 +0100 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-07-04 20:19:34 +0100 |
| commit | 870aa90c005f77a73445f5c39f9fd9bbb7604fe8 (patch) | |
| tree | 21597011d909436aeb94da228dee07da0309cc15 /src/ingestor.hpp | |
| parent | 61e106fe6a15f76b73125682e91d5c17ee875be2 (diff) | |
| download | webstat-870aa90c005f77a73445f5c39f9fd9bbb7604fe8.tar.bz2 webstat-870aa90c005f77a73445f5c39f9fd9bbb7604fe8.tar.xz webstat-870aa90c005f77a73445f5c39f9fd9bbb7604fe8.zip | |
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.
Diffstat (limited to 'src/ingestor.hpp')
| -rw-r--r-- | src/ingestor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename... T> void storeLogLine(DB::Connection *, const std::tuple<T...> &) const; + template<typename... T> void storeLogLine(DB::ModifyCommand * insert, const std::tuple<T...> &) const; IngestorSettings settings; |
