Skip to content

Commit

Permalink
Add pyodbc.SQL_SS_VARIANT constant
Browse files Browse the repository at this point in the history
  • Loading branch information
keitherskine committed Sep 15, 2024
1 parent 178fa07 commit 9cb7cd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pyodbc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ SQL_TYPE_DATE: int
SQL_TYPE_TIME: int
SQL_TYPE_TIMESTAMP: int
SQL_SS_TIME2: int
SQL_SS_VARIANT: int
SQL_SS_XML: int
SQL_INTERVAL_MONTH: int
SQL_INTERVAL_YEAR: int
Expand Down
1 change: 1 addition & 0 deletions src/pyodbcdbg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const char* SqlTypeName(SQLSMALLINT n)
_MAKESTR(SQL_TYPE_TIME);
_MAKESTR(SQL_TYPE_TIMESTAMP);
_MAKESTR(SQL_SS_TIME2);
_MAKESTR(SQL_SS_VARIANT);
_MAKESTR(SQL_SS_XML);
_MAKESTR(SQL_BINARY);
_MAKESTR(SQL_VARBINARY);
Expand Down
1 change: 1 addition & 0 deletions src/pyodbcmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ static const ConstantDef aConstants[] = {
MAKECONST(SQL_TYPE_TIME),
MAKECONST(SQL_TYPE_TIMESTAMP),
MAKECONST(SQL_SS_TIME2),
MAKECONST(SQL_SS_VARIANT),
MAKECONST(SQL_SS_XML),
MAKECONST(SQL_INTERVAL_MONTH),
MAKECONST(SQL_INTERVAL_YEAR),
Expand Down

0 comments on commit 9cb7cd2

Please sign in to comment.