aws / aws/amazon-documentdb-odbc-driver

iODBC not calling function SQLSetConnectAttr as expected for SQL_ATTR_LOGIN_TIMEOUT and SQL_ATTR_PACKET_SIZE

Open
#186 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

See `attributes_test.cpp`

Two tests with the scenario `ConnectionAttributeLoginTimeout` and `ConnectionAttributePacketSize`.
The attributes `SQL_ATTR_LOGIN_TIMEOUT` and `SQL_ATTR_PACKET_SIZE` should be set before establishing the connection.

Note that this tests work fine for Microsoft ODBC driver manager and unixODBC

Contributor guide

Open the contributing guide

Research direction

Start with attributes_test.cpp and the ConnectionAttributeLoginTimeout and ConnectionAttributePacketSize scenarios. Inspect how each attribute is set relative to connection establishment, then run the focused tests and compare the driver behavior with the expected SQLSetConnectAttr calls. Done means both attributes are applied before connecting and the tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.