Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ static const GetInfoType aInfoTypes[] = {
{ SQL_UNION, GI_UINTEGER },
{ SQL_USER_NAME, GI_STRING },
{ SQL_XOPEN_CLI_YEAR, GI_STRING },
{ SQL_ATTR_DRIVER_THREADING, GI_USMALLINT }
};


Expand Down
1 change: 1 addition & 0 deletions src/pyodbc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ SQL_TXN_ISOLATION_OPTION: int
SQL_UNION: int
SQL_USER_NAME: int
SQL_XOPEN_CLI_YEAR: int
SQL_ATTR_DRIVER_THREADING: int


# pyodbc-specific constants
Expand Down
1 change: 1 addition & 0 deletions src/pyodbcmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,7 @@ static const ConstantDef aConstants[] = {
MAKECONST(SQL_UNION),
MAKECONST(SQL_USER_NAME),
MAKECONST(SQL_XOPEN_CLI_YEAR),
MAKECONST(SQL_ATTR_DRIVER_THREADING),

// Connection Attributes
MAKECONST(SQL_ACCESS_MODE), MAKECONST(SQL_ATTR_ACCESS_MODE),
Expand Down