Skip to content
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

Merge with master #5

Merged
merged 4 commits into from
Mar 11, 2019
Merged

Merge with master #5

merged 4 commits into from
Mar 11, 2019

Conversation

v-makouz
Copy link
Owner

No description provided.

mkleehammer and others added 4 commits February 1, 2019 22:21
This was noticed in Cursor.columns, but I'm sure it affects a couple of other places in the
code.

Unfortunately the solution is hideously inefficient.  I tried not null terminating, but I'm
afraid driver differences when not using SQLWCHAR, such as drivers that want UTF8, will cause
non-stop errors.  Suggestions for a more efficient implementation are welcome.  Alternatively,
if someone wants to try converting to using lengths instead of null terminated strings *and*
testing it, I'd be interested.
* Fix double-decref on fast_executemany error return path. (#504)

* test for null termination fix (issue #506)

(cherry picked from commit 9597e6b)
* Update int parameter binding to use 'int' instead of 'bigint' when possible for drivers that don't support bigint like Access.  If most values are small, should save networking traffic also.
* Update Python 2 Access GUID test to expect Unicode.
* Update access tests to manage the test files themselves.
* Python 2 access test now encodes all strings at UTF-16.
@v-makouz v-makouz merged commit c210977 into v-makouz:master Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants