Skip to content

fix(MinGW): update ODBCVER to 0x0350 for SQL_GUID support#5215

Merged
matejk merged 1 commit intopocoproject:mainfrom
feihongmeilian:fix/mingw-update-odbcver-for-sql-guid
Feb 21, 2026
Merged

fix(MinGW): update ODBCVER to 0x0350 for SQL_GUID support#5215
matejk merged 1 commit intopocoproject:mainfrom
feihongmeilian:fix/mingw-update-odbcver-for-sql-guid

Conversation

@feihongmeilian
Copy link
Copy Markdown
Contributor

  • Modify ODBCVER from 0x0300 to 0x0350 to enable SQL_GUID type support
  • Update comment to clarify the dependency of SQL_GUID on ODBC 3.5 (0x0350)

SQL_GUID is a data type introduced in ODBC 3.5 (ODBCVER=0x0350) and is not available in ODBC 3.0 (0x0300). This change ensures proper compilation when using SQL_GUID in MinGW environment.

- Modify ODBCVER from 0x0300 to 0x0350 to enable SQL_GUID type support
- Update comment to clarify the dependency of SQL_GUID on ODBC 3.5 (0x0350)

SQL_GUID is a data type introduced in ODBC 3.5 (ODBCVER=0x0350) and is not available in ODBC 3.0 (0x0300).
This change ensures proper compilation when using SQL_GUID in MinGW environment.
@matejk matejk added this to the Release 1.15.1 milestone Feb 21, 2026
@matejk matejk merged commit 78a5716 into pocoproject:main Feb 21, 2026
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants