[Summary]
StormByte Database is the C++26 SQL layer of the StormByte suite.
One API covers SQLite, PostgreSQL and MariaDB.
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 1.1.0 and StormByte-Logger 1.1.0 or newer.
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: GNU Lesser General Public License version 3 or later, LICENSE
Fixed
- Backend connection and transaction handling
- Fixed system connector discovery with
WITH_SQLITE=SYSTEM,WITH_POSTGRES=SYSTEMandWITH_MARIADB=SYSTEM. - Fixed ownership transfer when moving connected SQLite, PostgreSQL and MariaDB backends.
- Fixed transactions silently continuing after failed
BEGINorCOMMITcommands. - Fixed PostgreSQL connection handling for credentials containing quotes or backslashes.
- Fixed system connector discovery with
- Prepared statements and result handling
- Fixed PostgreSQL and MariaDB numeric result parsing so invalid values return query errors instead of silent zero values.
- Fixed PostgreSQL prepared statements with multiple text or numeric parameters.
- Fixed SQLite prepared statements truncating unsigned integer values.
- Fixed MariaDB prepared statements interpreting unsigned integers as negative values.
- Fixed
Rowindex access to throw the DatabaseOutOfBoundsexception.
Changed
- Updated the minimum requirements to StormByte Base 1.1.0 and StormByte-Logger 1.1.0, including component-aware Database exceptions.
- Adopted StormByte Base type concepts for Database value conversions.