You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cumulative row cap + atomicity docstring on query paths
- DqliteProtocol now enforces a max_total_rows cap (default
10_000_000) across continuation frames. A server that drip-feeds
1 row per frame inside the per-operation deadline used to be able
to have the client accumulate arbitrary rows; the cap bounds that
in addition to the existing wall-clock deadline. Set
max_total_rows=None to disable.
- Document the atomicity post-condition of query_sql_typed: a
mid-stream failure raises before any rows are returned; the local
row list is discarded; the connection is invalidated by the
enclosing _run_protocol path. No code change — the invariant
already held, we're making it explicit.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments