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
docs: state the real HY008 contract on all 32 entry points
Every one claimed the state could not arise, on one of two false grounds: that
"the Backend trait is synchronous", which says nothing about another thread
cancelling, or that it was (DM)-handled, which the spec contradicts -- the
HY008 row carries no (DM) marker on any of these pages.
Each now names which of the row's two clauses applies, in one of three shapes:
the call reclassifies (18), it is connection-level and has no token to observe
(6), or it makes no fallible backend call for a cancellation to be reported
through (8). SQLDescribeCol and SQLColAttribute get their own wording: they do
reach a fallible call, but its map_err replaces any error with 07009, so a
cancellation is indistinguishable from a bad column number by the time core
sees it.
Classifying each function rather than pattern-matching turned up one the design
missed: SQLDescribeParam makes a fallible backend call and has a token in
reach, so it is wired here rather than documented as exempt.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments