summaryrefslogtreecommitdiff
path: root/src/ingestor.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-08-23 15:49:48 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-08-25 16:01:28 +0100
commitd3117520013d7ee0268e73cf8aaf3fb02e631a42 (patch)
tree9e65a395a3ec3c88f2685c7960048d38e53c1a69 /src/ingestor.cpp
parent52f0880cd05d346120fb3a0a9310592d50ec8bcb (diff)
downloadwebstat-d3117520013d7ee0268e73cf8aaf3fb02e631a42.tar.bz2
webstat-d3117520013d7ee0268e73cf8aaf3fb02e631a42.tar.xz
webstat-d3117520013d7ee0268e73cf8aaf3fb02e631a42.zip
Pass a DB connection to Ingestor
Diffstat (limited to 'src/ingestor.cpp')
-rw-r--r--src/ingestor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ingestor.cpp b/src/ingestor.cpp
index 17310c2..d5dd4e2 100644
--- a/src/ingestor.cpp
+++ b/src/ingestor.cpp
@@ -38,6 +38,8 @@ namespace WebStat {
}
}
+ Ingestor::Ingestor(DB::ConnectionPtr dbconn) : dbconn {std::move(dbconn)} { }
+
Ingestor::ScanResult
Ingestor::scanLogLine(std::string_view input)
{