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
Allow some statement attributes be used for a connection (#213)
* allow some statment attrs be used for a connection
Allow two statment attributes be used on a connection handle.
This is in support of some 2.x applications that can make use of them.
- SQL_ATTR_MAX_ROWS: the value is reset to 0 if different, which is the
same behavior the driver has when the attribute is set on a statement;
- SQL_ATTR_QUERY_TIMEOUT: the attribute is applied; any statement
belonging to the affected connection can subsequently override the
value, so the support is safe.
* comment better the code
Rephrase comment to reflect extra case inclusion and justify lack of a
"break;".
0 commit comments