summaryrefslogtreecommitdiff
path: root/Modules/_sqlite
AgeCommit message (Collapse)AuthorLines
2014-02-09Issue #20437: Fixed 21 potential bugs when deleting objects references.Serhiy Storchaka-6/+3
2013-12-19Issue #20026: Fix the sqlite module to handle correctly invalid isolation levelVictor Stinner-1/+4
(wrong type).
2013-08-28Fix compilation of the _sqlite module if threads are disabledVictor Stinner-0/+3
2013-04-28Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,Serhiy Storchaka-7/+7
such as was shipped with Centos 5 and Mac OS X 10.4.
2013-02-07Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka-49/+127
2013-02-07Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka-49/+127
2012-02-21Merge branch '3.2'Petri Lehtinen-6/+2
Closes #8033.
2012-02-21sqlite3: Fix 64-bit integer handling in user functions on 32-bit architecturesPetri Lehtinen-6/+2
Closes #8033.
2012-02-09Undocument and clean up sqlite3.OptimizedUnicodePetri Lehtinen-35/+18
Closes #13921.
2012-02-06Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Petri Lehtinen-10/+20
ProgrammingError now.
2012-02-01Merge branch 3.2Petri Lehtinen-8/+9
Closes #13676.
2012-02-01sqlite3: Handle strings with embedded zeros correctlyPetri Lehtinen-8/+9
Closes #13676.
2011-11-06Issue #13350: Replace most usages of PyUnicode_Format by PyUnicode_FromFormat.Amaury Forgeot d'Arc-19/+2
2011-10-14Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis-9/+9
2011-10-09Add API for static strings, primarily good for identifiers.Martin v. Löwis-9/+20
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
2011-10-04Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.Antoine Pitrou-2/+2
Reported and diagnosed by Thomas Kluyver.
2011-10-04Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.Antoine Pitrou-2/+2
Reported and diagnosed by Thomas Kluyver.
2011-09-28Implement PEP 393.Martin v. Löwis-7/+12
2011-08-10Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.Brian Curtin-6/+4
The macro was introduced in #12724.
2011-05-31merge 3.2Benjamin Peterson-0/+2
2011-05-31be extra careful with a borrowed reference when the GIL could be released ↵Benjamin Peterson-0/+2
(closes #8578)
2011-05-09#10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Gerhard Haering-10/+20
ProgrammingError now.
2011-04-04Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten ↵Antoine Pitrou-0/+62
Landschoff.
2011-03-16#11565: Merge with 3.1.Ezio Melotti-1/+1
2011-03-16#11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-1/+1
2011-03-16#11565: Merge with 3.2.Ezio Melotti-1/+1
2011-02-22Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon-11/+4
2011-02-04Merged revisions 88337 via svnmerge fromBrett Cannon-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. ........
2011-02-04There was a possibility that the initialization of _sqlite, when it failed,Brett Cannon-1/+1
would lead to a decref of a NULL. Fixes issue #11110.
2010-10-18Fix hash function type.Georg Brandl-1/+1
2010-10-17Fix T_BOOL bug of issue 8845.Martin v. Löwis-1/+1
2010-09-03Welcome to the UTF-8 world.Florent Xicluna-16/+16
2010-06-01#8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.R. David Murray-0/+2
Patch by R. David Murray, unit tests by Shashwat Anand.
2010-05-19Issue #6697: Check that _PyUnicode_AsString() result is not NULL in _sqliteVictor Stinner-6/+13
Strip also some trailing spaces
2010-05-09Recorded merge of revisions 81032 via svnmerge fromAntoine Pitrou-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. ........ ................
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-16/+16
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. ........
2010-04-22Merged revisions 80349 via svnmerge fromVictor Stinner-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. ........
2010-04-22Issue #8195: Fix a crash in sqlite Connection.create_collation() if theVictor Stinner-5/+12
collation name contains a surrogate character.
2010-03-21Merged revisions 78899 via svnmerge fromVictor Stinner-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:"). ........ ................
2010-03-21Merged revisions 78894 via svnmerge fromVictor Stinner-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. ........
2010-03-13Merged revisions 78898 via svnmerge fromVictor Stinner-0/+6
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:"). ........
2010-03-13sqlite3: Fix _PyUnicode_AsStringAndSize() error handler.Victor Stinner-1/+1
Destroy begin_statement (not statement) on error.
2010-03-05Issue #7670: sqlite3: Fixed crashes when operating on closed connections.Gerhard Häring-0/+20
2010-03-05Merged new pysqlite version 2.6.0 from trunk.Gerhard Häring-109/+322
2009-04-05Merge revision 71222 from trunk: #5615: make it possible to configure ↵Georg Brandl-6/+32
--without-threads again.
2009-02-21Merged revisions 69846 via svnmerge fromMark Dickinson-1/+1
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........
2009-02-02Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson-7/+7
type of tp_compare in a separate commit, for ease of reversion should things go wrong.
2008-09-22Issue #3659: Values of string subclasses were not handled correctly when usedGerhard Häring-14/+1
as bind parameters. Reviewed by Bejnamin Peterson.
2008-09-13Merged revisions 66394,66404,66412,66414,66424-66436 via svnmerge fromBenjamin Peterson-30/+35
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66394 | benjamin.peterson | 2008-09-11 17:04:02 -0500 (Thu, 11 Sep 2008) | 1 line fix typo ........ r66404 | gerhard.haering | 2008-09-12 08:54:06 -0500 (Fri, 12 Sep 2008) | 2 lines sqlite3 module: Mark iterdump() method as "Non-standard" like all the other methods not found in DB-API. ........ r66412 | gerhard.haering | 2008-09-12 13:58:57 -0500 (Fri, 12 Sep 2008) | 2 lines Fixes issue #3103. In the sqlite3 module, made one more function static. All renaming public symbos now have the pysqlite prefix to avoid name clashes. This at least once created problems where the same symbol name appeared somewhere in Apache and the sqlite3 module was used from mod_python. ........ r66414 | gerhard.haering | 2008-09-12 17:33:22 -0500 (Fri, 12 Sep 2008) | 2 lines Issue #3846: Release GIL during calls to sqlite3_prepare. This improves concurrent access to the same database file from multiple threads/processes. ........ r66424 | andrew.kuchling | 2008-09-12 20:22:08 -0500 (Fri, 12 Sep 2008) | 1 line #687648 from Robert Schuppenies: use classic division. (RM Barry gave permission to update the demos.) ........ r66425 | andrew.kuchling | 2008-09-12 20:27:33 -0500 (Fri, 12 Sep 2008) | 1 line #687648 from Robert Schuppenies: use classic division. From me: don't use string exception; flush stdout after printing ........ r66426 | andrew.kuchling | 2008-09-12 20:34:41 -0500 (Fri, 12 Sep 2008) | 1 line #687648 from Robert Schuppenies: use classic division. From me: don't use string exception; add __main__ section ........ r66427 | andrew.kuchling | 2008-09-12 20:42:55 -0500 (Fri, 12 Sep 2008) | 1 line #687648 from Robert Schuppenies: use classic division. From me: remove two stray semicolons ........ r66428 | andrew.kuchling | 2008-09-12 20:43:28 -0500 (Fri, 12 Sep 2008) | 1 line #687648 from Robert Schuppenies: use classic division. ........ r66429 | andrew.kuchling | 2008-09-12 20:47:02 -0500 (Fri, 12 Sep 2008) | 1 line Remove semicolon ........ r66430 | andrew.kuchling | 2008-09-12 20:48:36 -0500 (Fri, 12 Sep 2008) | 1 line Subclass exception ........ r66431 | andrew.kuchling | 2008-09-12 20:56:56 -0500 (Fri, 12 Sep 2008) | 1 line Fix SyntaxError ........ r66432 | andrew.kuchling | 2008-09-12 20:57:25 -0500 (Fri, 12 Sep 2008) | 1 line Update uses of string exceptions ........ r66433 | andrew.kuchling | 2008-09-12 21:08:30 -0500 (Fri, 12 Sep 2008) | 1 line Use title case ........ r66434 | andrew.kuchling | 2008-09-12 21:09:15 -0500 (Fri, 12 Sep 2008) | 1 line Remove extra 'the'; the following title includes it ........ r66435 | andrew.kuchling | 2008-09-12 21:11:51 -0500 (Fri, 12 Sep 2008) | 1 line #3288: Document as_integer_ratio ........ r66436 | andrew.kuchling | 2008-09-12 21:14:15 -0500 (Fri, 12 Sep 2008) | 1 line Use title case ........
2008-08-22Merged revisions 65978 via svnmerge fromChristian Heimes-2/+2
svn+ssh://pythondev@svn.python.org/python/trunk ........ r65978 | christian.heimes | 2008-08-22 21:55:54 +0200 (Fri, 22 Aug 2008) | 3 lines Silenced a compiler warning in the sqlite module Modules/_sqlite/row.c:187: warning: suggest parentheses around && within || Reviewed by Benjamin Peterson ........