forked from duckdb/duckdb-odbc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix varchar max column size in SQLGetTypeInfo
In the result set of `SQLGetTypeInfo` function the `COLUMN_SIZE` column for `VACHAR` type must contain the length value in characters. This change replaces `-1` value for this column with `MAX_INT` value. This allows client tools based on Microsoft Power Query to use parameter binding for `VARCHAR` columns/parameters. Testing: existing tests, that were checking for `-1` value, are updated to check for `MAX_INT`. Fixes: duckdb#66
- Loading branch information
1 parent
4fb88ed
commit 87c05be
Showing
5 changed files
with
57 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.