Repository navigation
[Summary]
StormByte Database is the C++26 SQL layer of the StormByte suite.
One API covers SQLite, PostgreSQL, MariaDB and Microsoft SQL Server (MSSQL).
Backends are base classes: you derive your schema, prepare statements and hook connect there.
This repository is not Base, Buffer, Config, Crypto, Logger, Multimedia, Network or System.
It requires StormByte Base 3.0.0 and StormByte-Logger 3.0.0.
The original StormByte-Database source is dual-licensed under LGPL v3.0-or-later or a commercial license.
If you landed here from a release link and have not read the tree:
- What this module is, how to build it, and short examples: README.md
- License: dual LGPL v3.0-or-later / commercial, LICENSE and COPYING.LGPLv3
Added
- Install
FindStormByteDatabase.cmakeso Base 3.0.0 can discover Database as a component. Verify consumers against both an installed prefix and an extracted release ZIP.
Changed
- Breaking: Require Base 3.0.0 component discovery and use the Linux archive naming scheme with architecture, libc and C++ standard library.
- Require StormByte-Logger 3.0.0 and StormByte-BuildMaster 2.1.5.
- Stop forcing CPU and optimization flags in manual Release builds; CPU selection now comes from the toolchain while
ENABLE_LTOremains independently configurable.
Fixed
- PGO training runner now prepends its library directories to
LD_LIBRARY_PATH/DYLD_LIBRARY_PATHwith the:separator (previously;, which broke library lookup on musl) and no longer appends an empty entry when the variable is unset. - Reconfigure automatically when
VERSIONchanges so rebuilt and installed artifacts use the updated project version. - Restore OFF, SYSTEM and BUNDLED backend coverage for every Linux CI architecture, libc and C++ runtime combination, with system development packages installed inside Alpine for musl builds.
- Keep macOS and Windows CI to one BUNDLED variant each.
- Run SQL Server integration within the Linux amd64 backend matrix and skip it on ARM64 when no server is configured.
- Build GNU gperf 3.3 from its verified official source archive with a CMake port when FreeTDS cannot use a system gperf, fixing the bundled build with GCC 15 on musl.
- Enable C++ exception handling for the bundled gperf tool with MSVC-compatible compilers, fixing the Windows clang-cl build.
- Correct bundled FreeTDS linking with strict linkers.