Aviv Palivoda
|
86a670543f
|
bpo-9303: Migrate sqlite3 module to _v2 API to enhance performance (#359)
|
2017-03-03 13:58:17 +03:00 |
|
Serhiy Storchaka
|
228b12edcc
|
Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever
possible. Patch is writen with Coccinelle.
|
2017-01-23 09:47:21 +02:00 |
|
Victor Stinner
|
070c4d7ca7
|
Issue #28915: Use _PyObject_CallNoArg()
Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func).
|
2016-12-09 12:29:18 +01:00 |
|
Serhiy Storchaka
|
85b0f5beb1
|
Added the const qualifier to char* variables that refer to readonly internal
UTF-8 represenatation of Unicode objects.
|
2016-11-20 10:16:47 +02:00 |
|
Serhiy Storchaka
|
06515833fe
|
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
|
2016-11-20 09:13:07 +02:00 |
|
Serhiy Storchaka
|
3b73ea1278
|
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
|
2016-11-16 10:19:20 +02:00 |
|
Serhiy Storchaka
|
f4934ea77d
|
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
|
2016-11-16 10:17:58 +02:00 |
|
Serhiy Storchaka
|
22805ca54e
|
Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()
if pass invalid string-like object as a name. Patch by Xiang Zhang.
|
2016-09-27 00:14:24 +03:00 |
|
Serhiy Storchaka
|
407ac47690
|
Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()
if pass invalid string-like object as a name. Patch by Xiang Zhang.
|
2016-09-27 00:10:03 +03:00 |
|
Berker Peksag
|
59da4b324f
|
Issue #28037: Use sqlite3_get_autocommit() instead of setting Connection->inTransaction manually
Patch adapted from 9b79188edb
|
2016-09-12 07:16:43 +03:00 |
|
Berker Peksag
|
9af13ca565
|
Issue #28036: Remove unused pysqlite_flush_statement_cache function
|
2016-09-11 15:37:30 +03:00 |
|
Serhiy Storchaka
|
2891492d23
|
Issue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.
|
2016-09-01 22:18:03 +03:00 |
|
Victor Stinner
|
3466bde1cc
|
Avoid calling functions with an empty string as format string
Directly pass NULL rather than an empty string.
|
2016-09-05 18:16:01 -07:00 |
|
Serhiy Storchaka
|
af0628e045
|
Issue #27881: Fixed possible bugs when setting sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.
|
2016-09-01 22:21:05 +03:00 |
|
Serhiy Storchaka
|
8631da64bb
|
Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor. Patch by Xiang Zhang.
|
2016-08-29 15:11:52 +03:00 |
|
Serhiy Storchaka
|
ef113cd4cc
|
Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor. Patch by Xiang Zhang.
|
2016-08-29 14:29:55 +03:00 |
|
Berker Peksag
|
6ed442c48d
|
Issue #10513: Merge from 3.5
|
2016-08-26 22:08:51 +03:00 |
|
Berker Peksag
|
cc9afa9b51
|
Issue #10513: Fix a regression in Connection.commit()
Statements should not be reset after a commit.
Backported from 029050896b
|
2016-08-26 22:07:51 +03:00 |
|
Berker Peksag
|
0f355c0022
|
Issue #27190: Merge from 3.5
|
2016-06-12 14:10:24 +03:00 |
|
Berker Peksag
|
7bea2347c7
|
Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1
Patch by Dave Sawyer.
|
2016-06-12 14:09:51 +03:00 |
|
Serhiy Storchaka
|
f01e408c16
|
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
|
2016-04-10 18:12:01 +03:00 |
|
Serhiy Storchaka
|
57a01d3a0e
|
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
|
2016-04-10 18:05:40 +03:00 |
|
Berker Peksag
|
fe21de9836
|
Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module
|
2016-04-09 07:34:39 +03:00 |
|
Serhiy Storchaka
|
ec39756960
|
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
|
2016-04-06 09:50:03 +03:00 |
|
Serhiy Storchaka
|
48842714b9
|
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
|
2016-04-06 09:45:48 +03:00 |
|