Uh oh!
There was an error while loading. Please reload this page.
Remove references to ODBCVER and assume ODBC 3.x - #19453
Conversation
caa5bc3 to
dd7f861CompareNattyNarwhal
commented
Aug 12, 2025
Just added UPGRADING comments and removed some useless defines on top of this, LMK if this still is good. |
TimWolla
commented
Aug 12, 2025
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
3b00b61Compare
DanielEScherzer
left a comment
There was a problem hiding this comment.
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
Uh oh!
There was an error while loading. Please reload this page.
DanielEScherzer
commented
Aug 13, 2025
@NattyNarwhal the squashed commit message contains |
NattyNarwhal
commented
Aug 13, 2025
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.