summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/connection.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()Serhiy Storchaka2016-09-261-2/+4
|\ | | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang.
| * Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()Serhiy Storchaka2016-09-261-2/+4
| | | | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang.
* | Issue #28037: Use sqlite3_get_autocommit() instead of setting ↵Berker Peksag2016-09-121-14/+17
| | | | | | | | | | | | Connection->inTransaction manually Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad
* | Issue #28036: Remove unused pysqlite_flush_statement_cache functionBerker Peksag2016-09-111-20/+0
| |
* | Avoid calling functions with an empty string as format stringVictor Stinner2016-09-061-8/+8
| | | | | | | | Directly pass NULL rather than an empty string.
* | Issue #27881: Fixed possible bugs when setting ↵Serhiy Storchaka2016-09-011-39/+33
|\ \ | |/ | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang.
| * Issue #27881: Fixed possible bugs when setting ↵Serhiy Storchaka2016-09-011-39/+33
| | | | | | | | | | | | 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-2/+11
|\ \ | |/ | | | | creates not a cursor. Patch by Xiang Zhang.
| * Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factorySerhiy Storchaka2016-08-291-2/+11
| | | | | | | | creates not a cursor. Patch by Xiang Zhang.
* | Issue #10513: Merge from 3.5Berker Peksag2016-08-261-1/+0
|\ \ | |/
| * Issue #10513: Fix a regression in Connection.commit()Berker Peksag2016-08-261-1/+0
| | | | | | | | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa
* | Issue #27190: Merge from 3.5Berker Peksag2016-06-121-0/+4
|\ \ | |/
| * Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1Berker Peksag2016-06-121-0/+4
| | | | | | | | Patch by Dave Sawyer.
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-101-3/+3
|\ \ | |/ | | | | in places where Py_DECREF was used.
| * Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREFSerhiy Storchaka2016-04-101-3/+3
| | | | | | | | in places where Py_DECREF was used.
* | Issue #26687: Use Py_RETURN_NONE macro in sqlite3 moduleBerker Peksag2016-04-091-16/+8
| |
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-4/+4
|\ \ | |/
| * Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-4/+4
| |
* | Issue #25923: Added the const qualifier to static constant arrays.Serhiy Storchaka2015-12-251-1/+1
|/
* Issue #20440: Massive replacing unsafe attribute setting code with specialSerhiy Storchaka2015-12-241-8/+5
| | | | macro Py_SETREF.
* Issue #20274: When calling a _sqlite.Connection, it now complains if passedLarry Hastings2015-05-081-3/+6
|\ | | | | | | | | | | any keyword arguments. Previously it silently ignored them. Also: merge related change from 3.4, also reported on Issue #20274.
| * Issue #20274: Remove ignored and erroneous "kwargs" parameters from threeLarry Hastings2015-05-081-3/+3
|/ | | | METH_VARARGS methods on _sqlite.Connection.
* Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-021-5/+6
| | | | and PyObject_AsWriteBuffer().
* Issue #21147: sqlite3 now raises an exception if the request contains a nullSerhiy Storchaka2014-09-111-1/+2
| | | | character instead of truncate it. Based on patch by Victor Stinner.
* (Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalidVictor Stinner2013-12-191-1/+4
|\ | | | | | | isolation level (wrong type).
| * Issue #20026: Fix the sqlite module to handle correctly invalid isolation levelVictor Stinner2013-12-191-1/+4
| | | | | | | | (wrong type).
* | sqlite: raise an OverflowError if the result is longer than INT_MAX bytesVictor Stinner2013-11-181-2/+8
| | | | | | | | Fix a compiler warning on Windows 64-bit
* | Issue #19514: Deduplicate some _Py_IDENTIFIER declarations.Martin v. Löwis2013-11-071-3/+2
| | | | | | | | Patch by Andrei Dorian Duma.
* | Issue #19437: Fix pysqlite_connection_call() of sqlite3, return NULL whenVictor Stinner2013-11-051-17/+13
| | | | | | | | PyList_Append() fails
* | (Merge 3.3) Fix compilation of the _sqlite module if threads are disabledVictor Stinner2013-08-271-0/+3
|\ \ | |/
| * Fix compilation of the _sqlite module if threads are disabledVictor Stinner2013-08-271-0/+3
| |
* | Issue #18701: Remove support of old CPython versions (<3.0) from C code.Serhiy Storchaka2013-08-161-1/+0
| |
* | Issue #18519: Fix test_sqlite on old versions of libsqlite3Victor Stinner2013-08-011-3/+12
| | | | | | | | | | With old SQLite versions, _sqlite3_result_error() sets a new Python exception, so don't restore the previous exception.
* | Issue #18519: the Python authorizer callback of sqlite3 must not raise ↵Victor Stinner2013-07-261-21/+20
| | | | | | | | | | | | | | Python exceptions The exception is printed if sqlite3.enable_callback_tracebacks(True) has been called, otherwise the exception is cleared.
* | Issue #18488: Fix _pysqlite_final_callback()Victor Stinner2013-07-221-4/+4
| | | | | | | | | | | | | | | | | | Restore behaviour of Python 3.3: print the finalizer() error if sqlite3.enable_callback_tracebacks() has been called, clear the error otherwise. But keep (save/restore) also the AttributeError raised in _pysqlite_step_callback().
* | Issue #18519, #18408: Fix sqlite authorizer callbackVictor Stinner2013-07-211-15/+23
| | | | | | | | | | If a previous call to the authorizer callback failed and raised an exception, don't call the Python authorizer callback, but just return SQLITE_DENY.
* | Issue #18488: _pysqlite_final_callback() should not clear the exception set byVictor Stinner2013-07-171-0/+9
| | | | | | | | the last call to the step() method of a user function
* | Issue #13773: sqlite3.connect() gets a new `uri` parameter to pass the ↵Antoine Pitrou2013-02-091-3/+21
|/ | | | filename as a URI, allowing to pass custom options.
* Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-071-27/+46
|\
| * Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-071-27/+46
| |
* | Merge branch '3.2'Petri Lehtinen2012-02-211-6/+2
|\ \ | |/ | | | | Closes #8033.
| * sqlite3: Fix 64-bit integer handling in user functions on 32-bit architecturesPetri Lehtinen2012-02-211-6/+2
| | | | | | | | Closes #8033.
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-5/+5
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-5/+10
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Implement PEP 393.Martin v. Löwis2011-09-281-7/+12
| |
* | merge 3.2Benjamin Peterson2011-06-011-0/+2
|\ \ | |/
| * be extra careful with a borrowed reference when the GIL could be released ↵Benjamin Peterson2011-06-011-0/+2
| | | | | | | | (closes #8578)
* | Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten ↵Antoine Pitrou2011-04-031-0/+62
| | | | | | | | Landschoff.
* | Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon2011-02-221-3/+0
|/
* Welcome to the UTF-8 world.Florent Xicluna2010-09-031-1/+1
|