Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-43258: Don't allocate sqlite3 aggregate context for empty queries (GH-24569) | Erlend Egeberg Aasland | 2021-02-19 | 1 | -0/+5 | |
| | ||||||
* | bpo-40956: Fix segfault when Connection.backup is called without target ↵ | Erlend Egeberg Aasland | 2021-02-10 | 1 | -1/+3 | |
| | | | | (GH-24503) | |||||
* | bpo-24464: Fix sqlite3.enable_shared_cache() deprecation wrapper (GH-24170) | Erlend Egeberg Aasland | 2021-01-09 | 2 | -1/+5 | |
| | ||||||
* | bpo-42847: Normalise Lib/sqlite3/test/* file encodings (GH-24147) | Erlend Egeberg Aasland | 2021-01-07 | 6 | -21/+15 | |
| | | | Convert from ISO-8859-1 to UTF-8. | |||||
* | bpo-40823: Use loadTestsFromTestCase() iso. makeSuite() in sqlite3 tests ↵ | Erlend Egeberg Aasland | 2021-01-07 | 9 | -320/+343 | |
| | | | | (GH-20538) | |||||
* | bpo-24464: Deprecate sqlite3.enable_shared_cache (GH-24008) | Erlend Egeberg Aasland | 2021-01-06 | 2 | -0/+21 | |
| | ||||||
* | bpo-40810: Require SQLite 3.7.15 (GH-24106) | Erlend Egeberg Aasland | 2021-01-06 | 2 | -12/+0 | |
| | ||||||
* | bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530) | Erlend Egeberg Aasland | 2021-01-04 | 1 | -0/+8 | |
| | | | | Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.html#version_3_7_15): _"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_ | |||||
* | bpo-42264: Deprecate sqlite3.OptimizedUnicode (GH-23163) | Erlend Egeberg Aasland | 2020-11-17 | 2 | -3/+18 | |
| | ||||||
* | bpo-41815: SQLite: segfault if backup called on closed database (GH-22322) | Peter McCormick | 2020-09-20 | 1 | -0/+7 | |
| | | | | | | | | | | | | | # [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) ``` | |||||
* | bpo-41662: Fix bugs in binding parameters in sqlite3 (GH-21998) | Serhiy Storchaka | 2020-09-17 | 2 | -1/+26 | |
| | | | | | | | * 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__()``. | |||||
* | bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909) | Erlend Egeberg Aasland | 2020-09-07 | 6 | -20/+0 | |
| | | | | | | Remove code required to support SQLite pre 3.7.3. Co-written-by: Berker Peksag <berker.peksag@gmail.com> Co-written-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> | |||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21772) | Hai Shi | 2020-08-07 | 1 | -1/+1 | |
| | ||||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21764) | Hai Shi | 2020-08-07 | 1 | -1/+2 | |
| | ||||||
* | bpo-40784: Fix sqlite3 deterministic test (GH-20448) | Erlend Egeberg Aasland | 2020-05-28 | 1 | -9/+27 | |
| | ||||||
* | bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. ↵ | Serhiy Storchaka | 2020-03-21 | 2 | -4/+4 | |
| | | | | (GH-18942) | |||||
* | bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. ↵ | Serhiy Storchaka | 2019-09-17 | 1 | -7/+18 | |
| | | | | (GH-16190) | |||||
* | bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155) | Serhiy Storchaka | 2019-09-16 | 1 | -7/+21 | |
| | ||||||
* | closes bpo-37347: Fix refcount problem in sqlite3. (GH-14268) | gescheit | 2019-07-13 | 1 | -58/+13 | |
| | ||||||
* | bpo-37406: sqlite3 raises TypeError for wrong operation type (GH-14386) | Victor Stinner | 2019-06-26 | 2 | -3/+3 | |
| | | | | | The sqlite3 module now raises TypeError, rather than ValueError, if operation argument type is not str: execute(), executemany() and calling a connection. | |||||
* | bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵ | Zackery Spytz | 2018-12-17 | 1 | -0/+4 | |
| | | | | (GH-11175) | |||||
* | bpo-32788: Better error handling in sqlite3. (GH-3723) | Serhiy Storchaka | 2018-12-10 | 1 | -3/+25 | |
| | | | Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user. | |||||
* | bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. ↵ | Sergey Fedoseev | 2018-12-05 | 1 | -19/+64 | |
| | | | | (GH-8113) | |||||
* | bpo-34041: Allow creating deterministic functions in ↵ | Sergey Fedoseev | 2018-07-08 | 1 | -0/+23 | |
| | | | | Connection.create_function() (GH-8086) | |||||
* | Spelling fixes to docs, docstrings, and comments (GH-6374) | Ville Skyttä | 2018-04-20 | 1 | -1/+1 | |
| | ||||||
* | bpo-27645: Fix version number in 'database in transaction' fallback (GH-6131) | Aviv Palivoda | 2018-03-18 | 1 | -3/+1 | |
| | | | It was actually fixed in SQLite 3.8.8, not 3.8.7. | |||||
* | bpo-27645: Skip test_bad_target_in_transaction if SQLite == 3.8.7.1 (GH-6067) | Berker Peksag | 2018-03-11 | 1 | -0/+2 | |
| | ||||||
* | bpo-27645: Add support for native backup facility of SQLite (GH-4238) | Emanuele Gaifas | 2018-03-10 | 1 | -0/+162 | |
| | ||||||
* | Remove unused var from CheckCancelOperation test (GH-4317) | Simon Willison | 2017-11-07 | 1 | -2/+0 | |
| | | | It looks like this was copied from one of the previous tests, which did use it. | |||||
* | bpo-31843: sqlite3.connect() now accepts PathLike objects as database name ↵ | Anders Lorentsen | 2017-11-07 | 1 | -0/+11 | |
| | | | | (#4299) | |||||
* | bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor ↵ | Oren Milman | 2017-11-07 | 1 | -0/+3 | |
| | | | | object is uninitialized (#3958) | |||||
* | bpo-31770: Prevent a crash and refleaks when calling ↵ | Oren Milman | 2017-11-07 | 1 | -0/+18 | |
| | | | | sqlite3.Cursor.__init__() more than once (#3968) | |||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -5/+1 | |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | |||||
* | bpo-26187: Test that set_trace_callback() is not called multiple times (GH-461) | Aviv Palivoda | 2017-04-09 | 1 | -0/+20 | |
| | | | | | | 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. | |||||
* | bpo-28518: Start a transaction implicitly before a DML statement (#245) | Berker Peksag | 2017-02-26 | 1 | -0/+9 | |
| | | | Patch by Aviv Palivoda. | |||||
* | Issue #29123: Merge from 3.5 | Berker Peksag | 2016-12-31 | 1 | -2/+1 | |
|\ | ||||||
| * | Issue #29123: Make CheckSqlTimestamp more robust | Berker Peksag | 2016-12-31 | 1 | -2/+1 | |
| | | ||||||
* | | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-26 | 1 | -0/+22 | |
|\ \ | |/ | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | |||||
| * | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-26 | 1 | -0/+22 | |
| | | | | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | |||||
* | | Issue #10740: sqlite3 no longer implicitly commit an open transaction before ↵ | Berker Peksag | 2016-09-11 | 1 | -8/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | Issue #21250: Merge from 3.5 | Berker Peksag | 2016-09-06 | 1 | -1/+100 | |
|\ \ | |/ | ||||||
| * | Issue #21250: Add tests for SQLite's ON CONFLICT clause | Berker Peksag | 2016-09-06 | 1 | -1/+100 | |
| | | | | | | | | Initial patch by Alex LordThorsen. | |||||
* | | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 1 | -4/+27 | |
|\ \ | |/ | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | |||||
| * | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 1 | -4/+27 | |
| | | | | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | |||||
* | | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | 2016-08-29 | 1 | -3/+17 | |
|\ \ | |/ | | | | | creates not a cursor. Patch by Xiang Zhang. | |||||
| * | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | 2016-08-29 | 1 | -3/+17 | |
| | | | | | | | | creates not a cursor. Patch by Xiang Zhang. | |||||
* | | Issue #10513: Merge from 3.5 | Berker Peksag | 2016-08-26 | 1 | -0/+31 | |
|\ \ | |/ | ||||||
| * | Issue #10513: Fix a regression in Connection.commit() | Berker Peksag | 2016-08-26 | 1 | -0/+31 | |
| | | | | | | | | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa | |||||
* | | Issue #21718: Merge from 3.5 | Berker Peksag | 2016-08-21 | 1 | -1/+41 | |
|\ \ | |/ | ||||||
| * | Issue #21718: cursor.description is now available for queries using CTEs | Berker Peksag | 2016-08-21 | 1 | -1/+41 | |
| | | | | | | | | | | | | | | | | | | | | According to PEP 249, cursor.description must be available for any SELECT statements, such as those that use CTEs. Backported from https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c Additional test cases added by me. |