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
Address the CI matrix failures from the block-prefetch commit:
- Cross-type read regression (the PostgreSQL/Windows dbtool failures): reading a
prefetched numeric/temporal/GUID column as a string (GetColumn<std::string>,
as dbtool's generic `exec` printer does) returned an empty string because
ConvertCell only rendered character-bound cells. RenderCellAsUtf8 now formats
every bound type to text (integers byte-identical to the driver; floating/
temporal/GUID via std::formatter), matching the per-row SQLGetData(SQL_C_CHAR)
behaviour. Adds a [prefetch] regression test for the all-numeric-read-as-text
case.
- clang-tidy (-warnings-as-errors): split is moot — fixed at source. Test file:
math-missing-parentheses, integer-sign-comparison, nested conditional operator,
std::move on trivially-copyable fixed strings, unchecked optional access.
Header: unused-lambda-capture (explicit this-> on the member call). ConvertCell
was also split into per-category helpers to stay under the cognitive-complexity
threshold.
- Doc coverage (doxygen): @ref PrefetchDepthDefault -> @c (it is a value, not a
ref target) in SqlConnection.hpp and SqlConnectInfo.hpp; drop the @param naming
an unnamed parameter on SqlLogger::OnFetchBlock (described in the brief instead).
- C++ style (clang-format-22): restore the single-line empty deleter lambda.
Verified: clangcl-debug builds clean; [prefetch] suite green on sqlite3,
mssql2022 (Docker), postgres (Docker); dbtool `exec` renders numeric columns.
Signed-off-by: Christian Parpart <c.parpart@lastrada.net>
0 commit comments