Repository navigation
Add more test coverage for ext/ODBC - #11938
Conversation
kocsismate
commented
Aug 11, 2023
- adds tests for many functions which used to be untested
- enable tests on Linux with unixODBC
- fix (mostly xfail or skip) failing tests
Girgias
left a comment
There was a problem hiding this comment.
Nice!
Main comments are about reducing the number of insertions queries and being confused at the inconsistent handling of the row parameter.
I also wonder if it makes sense to (in a follow-up) PR to enhance the warnings about invalid row numbers (if too larg) to use the appropriate function to check if the row number queried is actually in range? This could allow us to convert that case to a ValueError in the future.
|
Additionally, I managed to get rid of the |
Girgias
left a comment
There was a problem hiding this comment.
Overall this is fine if CI is happy
There was a problem hiding this comment.
One should know the database schema one is dealing with tho?
Also odbc_num_fields() exists, but that's an aside.
ef03a2d to
58e86d1
Compare
Some test failures are fixed, parallelization is enabled, section order is fixed.