-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Remove references to ODBCVER and assume ODBC 3.x #19453
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
Conversation
caa5bc3
to
dd7f861
Compare
Just added UPGRADING comments and removed some useless defines on top of this, LMK if this still is good. |
This should also go into NEWS (for Beta 2). As for this change, I'm not qualified to meaningfully review this, but I'm not seeing any obvious issues. As per https://externals.io/message/128453, I'm requesting a RM review. |
`SQLGetConnectOption`, `SQLSetConnectOption` and `SQLSetStmtOption` are deprecated, so if ODBC 3 is available, we use `SQLSetConnectAttr`, `SQLGetConnectAttr`, and `SQLSetStmtAttr` instead. (This is based on phpGH-17556, but just assumes ODBC 3.x.)
We don't need to support the old way of doing it.
Again, no need for the version specific wrapper
598acab
to
3b00b61
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks primarily like removal of a bunch of stuff and replacement of some macros with their definitions, looks good to me wearing the RM hat
@NattyNarwhal the squashed commit message contains |
Oops, I thought that only applied to the first line of the commit. I'll take care to remove these from future squashed commit messages. |
See the approved RFC. This also includes (and obsoletes) GH-17556, since we can safely assume that these functions are available in ODBC 3.x.