Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -6/+3 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Issue #28985: Update authorizer constants in sqlite3 module | Berker Peksag | 2017-01-02 | 1 | -0/+13 |
| | | | | | | | | | | | Dates and version information from the changelog: * 2006-08-12 (3.3.7) added SQLITE_CREATE_VTABLE, SQLITE_DROP_VTABLE * 2006-10-09 (3.3.8) added SQLITE_FUNCTION * 2009-01-12 (3.6.8) added SQLITE_SAVEPOINT * 2014-02-03 (3.8.3) added SQLITE_RECURSIVE Patch by Dingyuan Wang. | ||||
* | Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of ↵ | Serhiy Storchaka | 2016-12-16 | 1 | -1/+1 |
| | | | | dict. | ||||
* | Issue #28915: Use _PyObject_CallNoArg() | Victor Stinner | 2016-12-09 | 1 | -2/+2 |
| | | | | Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func). | ||||
* | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 3 | -6/+6 |
| | | | | UTF-8 represenatation of Unicode objects. | ||||
* | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 4 | -9/+9 |
| | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
|\ | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-27 | 9 | -216/+93 |
|\ \ | |/ |/| | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
| * | Issue #28037: Use sqlite3_get_autocommit() instead of setting ↵ | Berker Peksag | 2016-09-12 | 3 | -27/+17 |
| | | | | | | | | | | | | Connection->inTransaction manually Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad | ||||
| * | Issue #28036: Remove unused pysqlite_flush_statement_cache function | Berker Peksag | 2016-09-11 | 1 | -20/+0 |
| | | |||||
| * | Issue #10740: sqlite3 no longer implicitly commit an open transaction before ↵ | Berker Peksag | 2016-09-11 | 4 | -105/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | more PY_LONG_LONG to long long | Benjamin Peterson | 2016-09-08 | 1 | -1/+1 |
| | | |||||
| * | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-05 | 3 | -10/+10 |
| | | | | | | | | Directly pass NULL rather than an empty string. | ||||
| * | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-05 | 1 | -19/+0 |
| | | |||||
| * | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 2 | -42/+35 |
| |\ | | | | | | | | | | | | | | | | 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 | 4 | -38/+24 |
| |\ \ | | | | | | | | | | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
| | * \ | Issue #10513: Merge from 3.5 | Berker Peksag | 2016-08-26 | 4 | -38/+24 |
| | |\ \ | |||||
| | | * \ | Issue #21718: Merge from 3.5 | Berker Peksag | 2016-08-21 | 1 | -6/+5 |
| | | |\ \ | |||||
| | | * | | | Issue #16864: Cursor.lastrowid now supports REPLACE statement | Berker Peksag | 2016-06-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Initial patch by Alex LordThorsen. | ||||
| | | * | | | Merge from 3.5 | Berker Peksag | 2016-06-12 | 4 | -37/+21 |
| | | |\ \ \ | |||||
| | | | * \ \ | Issue #27190: Merge from 3.5 | Berker Peksag | 2016-06-12 | 1 | -0/+4 |
| | | | |\ \ \ | |||||
| | | | * \ \ \ | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 2 | -6/+6 |
| | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | in places where Py_DECREF was used. | ||||
| | | | * | | | | | Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module | Berker Peksag | 2016-04-09 | 4 | -32/+16 |
| | | | | | | | | | |||||
| | | | * | | | | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 3 | -5/+5 |
| | | | |\ \ \ \ \ | |||||
| | | | | * \ \ \ \ | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -2/+2 |
| | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
| | | | | * | | | | | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 3 | -5/+5 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-27 | 1 | -2/+4 |
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
* | | | | | | | | | | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 2 | -42/+35 |
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -2/+11 |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
* | | | | | | | | Issue #10513: Fix a regression in Connection.commit() | Berker Peksag | 2016-08-26 | 1 | -1/+0 |
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 CTEs | Berker Peksag | 2016-08-21 | 1 | -6/+5 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | | | Fix typo in _sqlite/module.h | Berker Peksag | 2016-06-12 | 1 | -1/+1 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1 | Berker Peksag | 2016-06-12 | 1 | -0/+4 |
| |_|_|/ |/| | | | | | | | | | | | Patch by Dave Sawyer. | ||||
* | | | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 2 | -6/+6 |
|/ / / | | | | | | | | | | in places where Py_DECREF was used. | ||||
* | | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 2 | -9/+9 |
| |/ |/| | |||||
* | | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -2/+2 |
|/ | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 2 | -16/+10 |
| | | | | macro Py_SETREF. | ||||
* | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 5 | -10/+8 |
|\ | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
| * | Issue #20274: When calling a _sqlite.Connection, it now complains if passed | Larry Hastings | 2015-05-08 | 1 | -3/+6 |
| |\ | | | | | | | | | | | | | | | | any keyword arguments. Previously it silently ignored them. Also: merge related change from 3.4, also reported on Issue #20274. | ||||
| * | | Issue #13583: sqlite3.Row now supports slice indexing. | Serhiy Storchaka | 2015-03-31 | 1 | -2/+1 |
| | | | | | | | | | | | | Tests by Jessica McKellar. | ||||
| * | | Removed unintentional trailing spaces in non-external and non-generated C files. | Serhiy Storchaka | 2015-03-18 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now | Victor Stinner | 2015-03-06 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raise a SystemError if a function returns a result and raises an exception. The SystemError is chained to the previous exception. Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable. Remove some checks which became useless (duplicate checks). Change reviewed by Serhiy Storchaka. | ||||
| * | | Issue #22883: Got rid of outdated references to PyInt and PyString in comments. | Serhiy Storchaka | 2015-02-17 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #23450: Fixed possible integer overflows. | Serhiy Storchaka | 2015-02-16 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-03 | 2 | -10/+14 |
| |\ \ | | | | | | | | | | | | | and PyObject_AsWriteBuffer(). | ||||
| * \ \ | Issue #21147: sqlite3 now raises an exception if the request contains a null | Serhiy Storchaka | 2014-09-11 | 2 | -1/+6 |
| |\ \ \ | | | | | | | | | | | | | | | | character instead of truncate it. Based on patch by Victor Stinner. | ||||
| * | | | | Issue #22218: Fix "comparison between signed and unsigned integers" warning in | Victor Stinner | 2014-08-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Modules/_sqlite/cursor.c. | ||||
* | | | | | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 1 | -1/+1 |
| |_|_|/ |/| | | | | | | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
* | | | | Issue #20274: Remove ignored and erroneous "kwargs" parameters from three | Larry Hastings | 2015-05-08 | 1 | -3/+3 |
| |_|/ |/| | | | | | | | | METH_VARARGS methods on _sqlite.Connection. |