-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OLE DB support #13
Closed
Closed
Conversation
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
### Summary <!--- General summary / title --> Add OLE DB support ### Description <!--- Details of what you changed --> - Documentation for how the driver can be used with OLE DB, using PowerShell and Excel, has been added in its own file, `docs/markdown/setup/ole-db.md`. - Null is now returned for null values instead of the character "`-`". - Empty arrays are represented as `[]` instead of `[-]`. - `byteOffset` changed to `size_t`. - `columnBindOffset` changed to `SqlUlen*`. - `SQLExtendedFetch` implemented separately from `SQLFetchScroll` to support ODBC 2.x applications. - `rowsetSize` added to `Statement`, for use with `SQLExtendedFetch`. - `SQL_ROWSET_SIZE` is now handled in `Statement::InternalSetAttribute` and `Statement::InternalGetAttribute`. - An `ignoreErrors` argument has been added to `InternalClose` so that `SQLFreeStmt` can ignore all errors when freeing. - Restriction for array size being less than 1000 has been removed. - Spelling errors have been fixed in comments and in the documentation. - `SQLGetData` can now retrieve variable-length data in parts. - Wth `SQLGetData`, the indicator pointer now receives the entire size of the cell if all data was placed in the buffer and gets the remaining data if only part of the data was placed in the buffer, when the buffer is too small to fit all data. ### Related Issue <!--- Link to issue where this is tracked --> N/A ### Additional Reviewers <!-- Any additional reviewers --> N/A
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Add OLE DB support
Description
OLE DB Support Changes
docs/markdown/setup/ole-db.md
.src/out
has been added to.gitignore
.-
".[]
instead of[-]
.byteOffset
changed tosize_t
.columnBindOffset
changed toSqlUlen*
.SQLExtendedFetch
implemented separately fromSQLFetchScroll
to support ODBC 2.x applications.rowsetSize
added toStatement
, for use withSQLExtendedFetch
.SQL_ROWSET_SIZE
is now handled inStatement::InternalSetAttribute
andStatement::InternalGetAttribute
.ignoreErrors
argument has been added toInternalClose
so thatSQLFreeStmt
can ignore all errors when freeing.SQLGetData
can now retrieve variable-length data in parts.SQLGetData
, the indicator pointer now receives the entire size of the cell if all data was placed in the buffer and gets the remaining data if only part of the data was placed in the buffer, when the buffer is too small to fit all data.macos-12
, asmacos-11
has been deprecated and is no longer available.Related Issue
Closes #10
Closes #11
Closes #12
Additional Reviewers
N/A