aws / aws/amazon-documentdb-odbc-driver
iODBC not calling function SQLSetConnectAttr as expected for SQL_ATTR_LOGIN_TIMEOUT and SQL_ATTR_PACKET_SIZE
- 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
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