summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite
Commit message (Collapse)AuthorAgeFilesLines
* Issue #1772673: The type of `char*` arguments now changed to `const char*`.Serhiy Storchaka2013-10-191-1/+1
|
* (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 sqlitecompat.h.Serhiy Storchaka2013-08-161-63/+0
| |
* | Issue #18701: Remove support of old CPython versions (<3.0) from C code.Serhiy Storchaka2013-08-166-6/+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 #18408: Fix _pysqlite_fetch_one_row(), in debug mode, don't callVictor Stinner2013-07-171-0/+5
| | | | | | | | type_call() with an exception set
* | 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
* | Fix compilater warnings on Windows 64-bitVictor Stinner2013-05-161-1/+1
| |
* | Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,Serhiy Storchaka2013-04-283-7/+7
|\ \ | |/ | | | | such as was shipped with Centos 5 and Mac OS X 10.4.
| * Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,Serhiy Storchaka2013-04-283-7/+7
| | | | | | | | such as was shipped with Centos 5 and Mac OS X 10.4.
* | Issue #13773: sqlite3.connect() gets a new `uri` parameter to pass the ↵Antoine Pitrou2013-02-092-7/+33
|/ | | | filename as a URI, allowing to pass custom options.
* Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-075-49/+127
|\
| * Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-075-49/+127
| |
* | 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.
| * Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Petri Lehtinen2012-02-062-10/+20
| | | | | | | | ProgrammingError now.
* | Undocument and clean up sqlite3.OptimizedUnicodePetri Lehtinen2012-02-096-35/+18
| | | | | | | | Closes #13921.
* | Merge branch 3.2Petri Lehtinen2012-02-012-8/+9
|\ \ | |/ | | | | Closes #13676.
| * sqlite3: Handle strings with embedded zeros correctlyPetri Lehtinen2012-02-012-8/+9
| | | | | | | | Closes #13676.
* | Issue #13350: Replace most usages of PyUnicode_Format by PyUnicode_FromFormat.Amaury Forgeot d'Arc2011-11-061-19/+2
| |
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-144-9/+9
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-094-9/+20
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.Antoine Pitrou2011-10-041-2/+2
|\ \ | |/ | | | | Reported and diagnosed by Thomas Kluyver.
| * Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.Antoine Pitrou2011-10-041-2/+2
| | | | | | | | Reported and diagnosed by Thomas Kluyver.
* | Implement PEP 393.Martin v. Löwis2011-09-281-7/+12
| |
* | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.Brian Curtin2011-08-111-6/+4
| | | | | | | | The macro was introduced in #12724.
* | 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)
* | #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Gerhard Haering2011-05-092-10/+20
| | | | | | | | ProgrammingError now.
* | Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten ↵Antoine Pitrou2011-04-031-0/+62
| | | | | | | | Landschoff.
* | #11565: Merge with 3.2.Ezio Melotti2011-03-161-1/+1
|\ \ | |/
| * #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
| |\
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| | |
| | * Merged revisions 88337 via svnmerge fromBrett Cannon2011-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88337 | brett.cannon | 2011-02-04 12:24:02 -0800 (Fri, 04 Feb 2011) | 5 lines There was a possibility that the initialization of _sqlite, when it failed, would lead to a decref of a NULL. Fixes issue #11110. ........
| | * Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou2010-05-091-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines Recorded merge of revisions 81029 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ ................
| | * Merged revisions 80349 via svnmerge fromVictor Stinner2010-04-221-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80349 | victor.stinner | 2010-04-22 13:23:23 +0200 (jeu., 22 avril 2010) | 3 lines Issue #8195: Fix a crash in sqlite Connection.create_collation() if the collation name contains a surrogate character. ........
| | * Merged revisions 78899 via svnmerge fromVictor Stinner2010-03-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78899 | victor.stinner | 2010-03-13 04:28:34 +0100 (sam., 13 mars 2010) | 14 lines Merged revisions 78898 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78898 | victor.stinner | 2010-03-13 04:27:07 +0100 (sam., 13 mars 2010) | 7 lines sqlite3: Fix a segfault on calling a connection with something else than a string. Initialize all attributes to be able to call the statement destructor on error. Avoid also a duplicate connection in some tests: setUp() does already open a connection (":memory:"). ........ ................
| | * Merged revisions 78894 via svnmerge fromVictor Stinner2010-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r78894 | victor.stinner | 2010-03-13 01:57:22 +0100 (sam., 13 mars 2010) | 4 lines sqlite3: Fix _PyUnicode_AsStringAndSize() error handler. Destroy begin_statement (not statement) on error. ........
| | * Issue #7670: sqlite3: Fixed crashes when operating on closed connections.Gerhard Häring2010-03-051-0/+20
| | |
* | | Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon2011-02-223-11/+4
|/ /
* | There was a possibility that the initialization of _sqlite, when it failed,Brett Cannon2011-02-041-1/+1
| | | | | | | | | | | | would lead to a decref of a NULL. Fixes issue #11110.
* | Fix hash function type.Georg Brandl2010-10-181-1/+1
| |
* | Fix T_BOOL bug of issue 8845.Martin v. Löwis2010-10-171-1/+1
| |
* | Welcome to the UTF-8 world.Florent Xicluna2010-09-0316-16/+16
| |
* | #8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.R. David Murray2010-06-011-0/+2
| | | | | | | | Patch by R. David Murray, unit tests by Shashwat Anand.
* | Issue #6697: Check that _PyUnicode_AsString() result is not NULL in _sqliteVictor Stinner2010-05-194-6/+13
| | | | | | | | Strip also some trailing spaces