| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#92278)
* [3.9] gh-80254: Disallow recursive usage of cursors in `sqlite3` converters
(cherry picked from commit c908dc5b4798c311981bd7e1f7d92fb623ee448b)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Fix ref leak in pysqlite_cursor_iternext
* Explicitly free resources at test tearDown()
|
| |
|
|
|
|
| |
Co-authored-by: Jonathan <89750679+AHypnotoad@users.noreply.github.com>
(cherry picked from commit 66584c890d016e40d707400130d1cd98f2aedde9)
Co-authored-by: Jonathan <jonathan.joyner94@gmail.com>
|
| |
|
|
|
| |
(GH-31586)
(cherry picked from commit 3eb3b4f270757f66c7fb6dcf5afa416ee1582a4b)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-45677: Avoid addressing the reader as 'you' in sqlite3 docs
* Adjust wording
* Adjust wording again
* Typo
* Update Doc/library/sqlite3.rst
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* Address review: adjust wording
* Update Doc/library/sqlite3.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Lib/sqlite3/__init__.py
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Doc/library/sqlite3.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Doc/library/sqlite3.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Lib/sqlite3/__init__.py
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Doc/library/sqlite3.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Apply Alex' suggestion, and apply 80 char limit to PR
* Minor adjustment
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 6c5a312fb6d92e879bf4c570b94e18bb9ffe5970)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
| |
|
|
|
| |
(cherry picked from commit 4dd1e84789f0bd2da83ad06d23c569bf03713a50)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
| |
|
|
|
|
|
|
| |
Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be)
Automerge-Triggered-By: GH:JulienPalard
|
| |
|
|
|
|
| |
(GH-28023)
(cherry picked from commit 07d3d54)
|
| |
|
|
| |
commit (GH-26202) (GH-27944)
|
| |
|
|
|
|
| |
`sqlite3` UDF callbacks (GH-27588). (GH-27639)
(cherry picked from commit 8f010dc920e1f6dc6a357e7cc1460a7a567c05c6)
|
| |
|
|
| |
(cherry picked from commit 006fd869e4798b68e266f5de89c83ddb531a756b)
|
| |
|
|
|
|
|
| |
(GH-27431) (GH-27465)
(cherry picked from commit 7e311e496b0e26b3d3c62fe9b0ed2a4677c37ee9)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
| |
|
|
|
| |
(cherry picked from commit be7e467bcf5e419302d887904ef3e8fd310c68e7)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
| |
|
|
|
|
|
| |
Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.htmlGH-version_3_7_15):
_"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_
(cherry picked from commit f7f0ed59bcc41ed20674d4b2aa443d3b79e725f4)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GH- [bpo-41815](): SQLite: fix segfault if backup called on closed database
Attempting to backup a closed database will trigger segfault:
```python
import sqlite3
target = sqlite3.connect(':memory:')
source = sqlite3.connect(':memory:')
source.close()
source.backup(target)
```
(cherry picked from commit bfee9fad84531a471fd7864e88947320669f68e2)
Co-authored-by: Peter McCormick <peter@pdmccormick.com>
|
| |
|
|
|
|
|
|
|
| |
* When the parameters argument is a list, correctly handle the case
of changing it during iteration.
* When the parameters argument is a custom sequence, no longer
override an exception raised in ``__len__()``.
(cherry picked from commit 0b419b791077414bbc011a412698ebb362b63761)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit c610d970f5373b143bf5f5900d4645e6a90fb460)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
| |
|
|
| |
(GH-18942)
|
| |
|
|
| |
(GH-16190)
|
| | |
|
| | |
|
| |
|
|
|
| |
The sqlite3 module now raises TypeError, rather than ValueError, if
operation argument type is not str: execute(), executemany() and
calling a connection.
|
| |
|
|
| |
(GH-11175)
|
| |
|
| |
Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user.
|
| |
|
|
| |
(GH-8113)
|
| |
|
|
| |
Connection.create_function() (GH-8086)
|
| | |
|
| |
|
| |
It was actually fixed in SQLite 3.8.8, not 3.8.7.
|
| | |
|
| | |
|
| |
|
| |
It looks like this was copied from one of the previous tests, which did use it.
|
| |
|
|
| |
(#4299)
|
| |
|
|
| |
object is uninitialized (#3958)
|
| |
|
|
| |
sqlite3.Cursor.__init__() more than once (#3968)
|
| |
|
|
|
|
| |
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
|
| |
|
|
|
|
| |
conn.set_trace_callback() shouldn't be called multiple times when the
schema is changing.
This has indirectly been fixed by using sqlite3_prepare_v2() in bpo-9303.
|
| |
|
| |
Patch by Aviv Palivoda.
|
| |\ |
|
| | | |
|
| |\ \
| |/
| |
| | |
if pass invalid string-like object as a name. Patch by Xiang Zhang.
|
| | |
| |
| |
| | |
if pass invalid string-like object as a name. Patch by Xiang Zhang.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DDL statements
This commit contains the following commits from ghaering/pysqlite:
* https://github.com/ghaering/pysqlite/commit/f254c534948c41c0ceb8cbabf0d4a2f547754739
* https://github.com/ghaering/pysqlite/commit/796b3afe38cfdac5d7d5ec260826b0a596554631
* https://github.com/ghaering/pysqlite/commit/cae87ee68613697a5f4947b4a0941f59a28da1b6
* https://github.com/ghaering/pysqlite/commit/3567b31bb5e5b226ba006213a9c69dde3f155faf
With the following additions:
* Fixed a refcount error
* Fixed a compiler warning
* Made the string comparison a little more robust
* Added a whatsnew entry
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
Initial patch by Alex LordThorsen.
|
| |\ \
| |/
| |
| |
| |
| | |
sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.
|
| | |
| |
| |
| |
| |
| | |
sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.
|
| |\ \
| |/
| |
| | |
creates not a cursor. Patch by Xiang Zhang.
|
| | |
| |
| |
| | |
creates not a cursor. Patch by Xiang Zhang.
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
Statements should not be reset after a commit.
Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa
|
| |\ \
| |/ |
|