Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for SQL_WLONGVARCHAR data type
SQL Server, for example, reports - `NTEXT` as `SQL_WLONGVARCHAR` - `TEXT` as `SQL_LONGVARCHAR` Formerly, `SQL_WLONGVARCHAR` column was only recognised by accident due to defined `SQL_NVARCHAR(-10)` but the implementation was broken: - `SQLDescribeCol` returns the column size of 1073741824 characters - The column was not recognised as large variable-length object - The column was also incorrectly recognised as `SQLCHAR`-based data - Binding would attempt to pre-allocate large buffer of size `sizeof(SQLCHAR) * 1073741824` Removal of the `SQL_NVARCHAR` proposed in #210 - which is a requirement of this changeset.
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 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