[pypy-commit] [Git][pypy/pypy][branch/py3.7] 2 commits: try to fix #3351: when two cursors shared the same statement, and one of them

Carl Friedrich Bolz-Tereick foss at heptapod.net
Mon Mar 15 11:42:23 EDT 2021



Carl Friedrich Bolz-Tereick pushed to branch branch/py3.7 at PyPy / pypy


Commits:
cdd5cb85 by Carl Friedrich Bolz-Tereick at 2021-03-15T16:12:34+01:00
try to fix #3351: when two cursors shared the same statement, and one of them
was collected at the wrong time, we could get an SQLITE_MISUSE that was
reported in confusing ways. fix this by remembering *which* cursors is using a
statement, and only freeing those that we use

--HG--
branch : py3.7

- - - - -
2e4e465c by Carl Friedrich Bolz-Tereick at 2021-03-15T16:40:14+01:00
properly report sqlite errors from the callers of __set_param

--HG--
branch : py3.7

- - - - -


2 changed files:

- extra_tests/test_sqlite3.py
- lib_pypy/_sqlite3.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/e763840e9f5edce745d5b033156dd31ee9721302...2e4e465cc966b8863fce64e6779ef9b2ad76f0b6

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/e763840e9f5edce745d5b033156dd31ee9721302...2e4e465cc966b8863fce64e6779ef9b2ad76f0b6
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20210315/1e511012/attachment.html>


More information about the pypy-commit mailing list