summaryrefslogtreecommitdiff
path: root/Lib/sqlite3
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29123: Merge from 3.5Berker Peksag2016-12-311-2/+1
|\
| * Issue #29123: Make CheckSqlTimestamp more robustBerker Peksag2016-12-311-2/+1
| |
* | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()Serhiy Storchaka2016-09-272-9/+70
|\ \ | |/ |/| | | 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 Peksag2016-09-111-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.5Berker Peksag2016-09-071-1/+42
| |\
| | * Issue #27881: Fixed possible bugs when setting ↵Serhiy Storchaka2016-09-011-4/+27
| | |\ | | | | | | | | | | | | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang.
| | * \ Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factorySerhiy Storchaka2016-08-291-1/+42
| | |\ \ | | | | | | | | | | | | | | | creates not a cursor. Patch by Xiang Zhang.
| | | * \ Issue #10513: Merge from 3.5Berker Peksag2016-08-261-1/+42
| | | |\ \
| | | | * \ Issue #21718: Merge from 3.5Berker Peksag2016-08-211-1/+41
| | | | |\ \
| | | | * | | Issue #16864: Cursor.lastrowid now supports REPLACE statementBerker Peksag2016-06-141-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial patch by Alex LordThorsen.
* | | | | | | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()Serhiy Storchaka2016-09-271-0/+22
|/ / / / / / | | | | | | | | | | | | | | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang.
* | | | | | Issue #21250: Add tests for SQLite's ON CONFLICT clauseBerker Peksag2016-09-071-1/+100
| |_|_|_|/ |/| | | | | | | | | | | | | | Initial patch by Alex LordThorsen.
* | | | | Issue #27881: Fixed possible bugs when setting ↵Serhiy Storchaka2016-09-011-4/+27
|/ / / / | | | | | | | | | | | | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang.
* | | | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factorySerhiy Storchaka2016-08-291-3/+17
|/ / / | | | | | | | | | creates not a cursor. Patch by Xiang Zhang.
* | | Issue #10513: Fix a regression in Connection.commit()Berker Peksag2016-08-261-0/+31
| |/ |/| | | | | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa
* | Issue #21718: cursor.description is now available for queries using CTEsBerker Peksag2016-08-211-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.
* Mark tests as skipped when a SQLite version is not supportedBerker Peksag2016-06-144-16/+9
|
* Remove empty setUp and tearDown methods from sqlite3 testsBerker Peksag2016-06-142-18/+0
| | | | | They are not used as base classes by another tests so they can safely be removed.
* Replace more boilerplate code with modern unittest features in sqlite3 testsBerker Peksag2016-06-143-13/+6
|
* Modernize sqlite3 testsBerker Peksag2016-06-126-257/+62
| | | | | Update current tests that use old pattern with assertRaises to make them more maintainable.
* Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1Berker Peksag2016-06-121-0/+6
| | | | Patch by Dave Sawyer.
* Issue #27188: Fix various sqlite3 documentation errorsBerker Peksag2016-06-121-0/+12
| | | | | | | | | | | * Connection.execute* methods don't create intermediate cursor objects * Fix description of seq_of_parameters parameter * Clarify that Warning is sqlite3.Warning * sql_script parameter of Cursor.executescript() doesn't accept bytes * Add missing tests * Fix various markup errors Initial patch by Dave Sawyer.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Issue #23758: Improve num_params docs of create_{function,aggregate} functionsBerker Peksag2016-03-271-0/+31
| | | | | | | | If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by C?dric Krier.
* Issue #24257: Fixed incorrect uses of PyObject_IsInstance().Serhiy Storchaka2015-05-221-0/+18
|\ | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
| * Issue #13583: sqlite3.Row now supports slice indexing.Serhiy Storchaka2015-03-311-0/+18
| | | | | | | | Tests by Jessica McKellar.
* | Issue #24257: Fixed incorrect uses of PyObject_IsInstance().Serhiy Storchaka2015-05-221-0/+8
|/ | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
* Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-12/+3
| | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* Issue #21147: sqlite3 now raises an exception if the request contains a nullSerhiy Storchaka2014-09-111-0/+10
| | | | character instead of truncate it. Based on patch by Victor Stinner.
* Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulrSerhiy Storchaka2014-05-282-3/+25
| | | | it supports reverse() and negative indices. Original patch by Claudiu Popa.
* merge 3.3 (#20901)Benjamin Peterson2014-03-121-0/+18
|\
| * merge 3.3 (#20080)Benjamin Peterson2014-02-151-0/+1
| |\
| * \ (Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalidVictor Stinner2013-12-191-0/+5
| |\ \ | | | | | | | | | | | | isolation level (wrong type).
| * \ \ Issue #19601: Use specific asserts in sqlite3 tests.Serhiy Storchaka2013-11-171-0/+18
| |\ \ \
| | * \ \ #18741: merge with 3.3.Ezio Melotti2013-08-172-3/+5
| | |\ \ \
| | * | | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-042-2/+2
| | | | | |
| | * | | | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | ModuleNotFoundError.
| | * | | | Issue #14720: Enhance sqlite3 microsecond conversion, document its behaviorPetri Lehtinen2013-02-261-0/+18
| | |\ \ \ \
| | | * \ \ \ Issue #14720: sqlite3: Convert datetime microseconds correctlyPetri Lehtinen2013-02-232-1/+18
| | | |\ \ \ \
| | | * | | | | Issue #13773: sqlite3.connect() gets a new `uri` parameter to pass the ↵Antoine Pitrou2013-02-101-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filename as a URI, allowing to pass custom options.
* | | | | | | | weaken callback count inequality (closes #20901)Benjamin Peterson2014-03-121-1/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | add missing test assertion (closes #20080)Benjamin Peterson2014-02-151-0/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Patch by Vajrasky Kok.
* | | | | | Issue #20026: Fix the sqlite module to handle correctly invalid isolation levelVictor Stinner2013-12-191-0/+5
|/ / / / / | | | | | | | | | | | | | | | (wrong type).
* | | | | Issue #19601: Use specific asserts in sqlite3 tests.Serhiy Storchaka2013-11-172-30/+20
| |_|_|/ |/| | |
* | | | #18741: fix more typos. Patch by F?vry Thibault.Ezio Melotti2013-08-172-3/+5
|/ / /
* | | Issue #14720: Enhance sqlite3 microsecond conversion, document its behaviorPetri Lehtinen2013-02-266-8/+60
|\ \ \ | | |/ | |/|
| * | Issue #14720: sqlite3: Convert datetime microseconds correctlyPetri Lehtinen2013-02-232-1/+18
| |\ \ | | |/ | |/|
| * | Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-072-12/+67
| |\ \
| * \ \ merge #13934: document sqlite version strings, use correct one in test.R David Murray2013-01-101-2/+2
| |\ \ \
| * \ \ \ merge #15545: fix sqlite3.iterdump regression on unsortable row_factory objects.R David Murray2013-01-102-1/+23
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix for issue 9750 introduced a regression by sorting the row objects returned by fetchall. But if a row_factory such as sqlite3.Row is used, the rows may not be sortable (in Python3), which leads to an exception. The sorting is still a nice idea, so the patch moves the sort into the sql. Fix and test by Peter Otten.