Skip to content

1.0#75

Merged
dantti merged 25 commits into
masterfrom
dantti/fixes_1.0
Jul 19, 2026
Merged

1.0#75
dantti merged 25 commits into
masterfrom
dantti/fixes_1.0

Conversation

@dantti

@dantti dantti commented Jul 19, 2026

Copy link
Copy Markdown
Member

No description provided.

dantti added 18 commits July 19, 2026 11:52
Add resultError() in aresult and use it from ACache and APool so
failed queries are not stored or replayed, and callback paths get a
proper error AResult instead of an empty one.
Remove open(cb), AResultFn callbacks, AMigrations ready/migrate(cb),
and pool setup/reuse callbacks. Use coOpen/co_await, driver signals,
and coroutine hooks instead.
Moved AOpenFn, AResultFn, ADatabaseFn, ACoroOpenData, ACoroResult, ACoroDatabase, and ACoroDataRef into src/asql_coro_delivery.h under ASql::detail (with aliases for drivers/core).
Removed them from adatabase.h; adriver.h / acoroexpected.h include the delivery header.
Header is installed (drivers need it) but documented as not part of the stable public API.
3 — Demos Rewrote coroutine-only demos: pipeline, prepared, deleter, async1, migrations — no leftover onStateChanged / callback exec/open.
(same pattern as migrations) and documented it in apool.h
Tests: sqlite_tst multi-statement transaction now uses co_await APool::begin() (TODO removed); existing testPoolBeginCommit / testPoolBeginRollback still cover it
Demos: transactions.cpp rewritten around APool::begin(); coroutines.cpp TODO/#if 0 replaced with a live pool-begin demo
README: documents APool::begin() alongside ADatabase::begin()
@dantti
dantti force-pushed the dantti/fixes_1.0 branch from 110c2e0 to 1549564 Compare July 19, 2026 15:00
@dantti
dantti force-pushed the dantti/fixes_1.0 branch from 63a1717 to eb85994 Compare July 19, 2026 16:09
@dantti
dantti merged commit 8357794 into master Jul 19, 2026
5 checks passed
@dantti
dantti deleted the dantti/fixes_1.0 branch July 19, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant