diff options
| author | Stefan Boberg <[email protected]> | 2026-04-14 15:47:32 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-14 15:47:32 +0200 |
| commit | d1bdf9e51220867ce65c0da10ab2146fe513f4f0 (patch) | |
| tree | d7864116f3a11c114085f87aa2a584796c4d5c3e /src/zenhttp/auth/authmgr.cpp | |
| parent | Revert unintended duckdb dependency addition in xmake.lua (diff) | |
| download | zen-sb/tourist.tar.xz zen-sb/tourist.zip | |
Add DuckDB integration prototype with runtime-loaded shared librarysb/tourist
Exploratory prototype for using DuckDB as an embedded columnar database
for trace analysis and cache analysis workloads. DuckDB is loaded at
runtime via dlopen/LoadLibrary to avoid adding ~20MB to the executable.
- thirdparty/duckdb/duckdb.h: DuckDB v1.5.1 C API header (headeronly)
- repo/packages/d/duckdb-lib: xmake package that downloads pre-built
DuckDB shared library per platform from GitHub releases
- src/zenutil/duckdb.h/.cpp: RAII C++ wrapper over the C API with
cross-platform dynamic loading (DuckDb, DuckDbConnection, DuckDbResult,
DuckDbPreparedStatement) and 8 tests covering queries, types, tables,
prepared statements, error handling, and aggregation
- zen, zenserver, zenutil-test: copy duckdb.dll to output dir after build
Features degrade gracefully when the shared library is absent.
Diffstat (limited to 'src/zenhttp/auth/authmgr.cpp')
0 files changed, 0 insertions, 0 deletions