Skip to content

Data/SessionPool: Spelling mistakes fixed#100

Merged
aleks-f merged 1 commit intopocoproject:developfrom
adrianimboden:develop
Feb 20, 2013
Merged

Data/SessionPool: Spelling mistakes fixed#100
aleks-f merged 1 commit intopocoproject:developfrom
adrianimboden:develop

Conversation

@adrianimboden
Copy link
Copy Markdown
Contributor

No description provided.

aleks-f added a commit that referenced this pull request Feb 20, 2013
Data/SessionPool: Spelling mistakes fixed
@aleks-f aleks-f merged commit ae26e45 into pocoproject:develop Feb 20, 2013
matejk added a commit that referenced this pull request Mar 16, 2026
Informix ODBC driver may report string lengths larger than the
allocated wide-char buffer during metadata retrieval (e.g.
SQLColAttribute, SQLDescribeCol), causing makeUTF8 to throw
"Specified length exceeds available length". Replace strict
validation with defensive clamping: handle non-positive lengths,
clamp to buffer size, and align to wchar_t/SQLWCHAR boundary.

Port of aleph-us/macchina.io#99 / PR #100. Safe for other drivers
as clamp conditions are never triggered with correct length reporting.

Also fix informix.nix comment (sysmaster -> poco_test) and copyright
years in ODBCInformixTest files.
matejk added a commit that referenced this pull request Mar 17, 2026
Informix ODBC driver may report string lengths larger than the
allocated wide-char buffer during metadata retrieval (e.g.
SQLColAttribute, SQLDescribeCol), causing makeUTF8 to throw
"Specified length exceeds available length". Replace strict
validation with defensive clamping: handle non-positive lengths,
clamp to buffer size, and align to wchar_t/SQLWCHAR boundary.

Port of aleph-us/macchina.io#99 / PR #100. Safe for other drivers
as clamp conditions are never triggered with correct length reporting.

Also fix informix.nix comment (sysmaster -> poco_test) and copyright
years in ODBCInformixTest files.
matejk added a commit that referenced this pull request Mar 20, 2026
Informix ODBC driver may report string lengths larger than the
allocated wide-char buffer during metadata retrieval (e.g.
SQLColAttribute, SQLDescribeCol), causing makeUTF8 to throw
"Specified length exceeds available length". Replace strict
validation with defensive clamping: handle non-positive lengths,
clamp to buffer size, and align to wchar_t/SQLWCHAR boundary.

Port of aleph-us/macchina.io#99 / PR #100. Safe for other drivers
as clamp conditions are never triggered with correct length reporting.

Also fix informix.nix comment (sysmaster -> poco_test) and copyright
years in ODBCInformixTest files.
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.

2 participants