summaryrefslogtreecommitdiff
path: root/Modules/_sqlite/row.c
AgeCommit message (Collapse)AuthorLines
2019-09-17[2.7] bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. ↵Serhiy Storchaka-5/+7
(GH-16155). (GH-16215) (cherry picked from commit 8debfa50407107ff2329d01081cdc12d359f1d12)
2015-05-22Issue #24257: Fixed segmentation fault in sqlite3.Row constructor with fakedSerhiy Storchaka-1/+1
cursor type.
2014-08-06Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particularSerhiy Storchaka-11/+17
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method.
2014-05-28Issue #10203: sqlite3.Row now truly supports sequence protocol. In particularSerhiy Storchaka-2/+24
it supports reverse() and negative indices. Original patch by Claudiu Popa.
2010-03-05Merged code from pysqlite 2.6.0.Gerhard Häring-10/+10
2008-08-22Silenced a compiler warning in the sqlite moduleChristian Heimes-2/+2
Modules/_sqlite/row.c:187: warning: suggest parentheses around && within || Reviewed by Benjamin Peterson
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-3/+3
http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
2008-05-26Renamed PyString to PyBytesChristian Heimes-3/+3
2008-05-04Applied sqliterow-richcmp.diff patch from Thomas Heller in Issue2152. TheGerhard Häring-2/+26
sqlite3.Row type is now correctly hashable.
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵Christian Heimes-1/+1
Py_REFCNT. Macros for b/w compatibility are available.
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-3/+2
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
2007-01-14Merged changes from standalone version 2.3.3. This should probably all beGerhard Häring-22/+53
merged into the 2.5 maintenance branch: - self->statement was not checked while fetching data, which could lead to crashes if you used the pysqlite API in unusual ways. Closing the cursor and continuing to fetch data was enough. - Converters are stored in a converters dictionary. The converter name is uppercased first. The old upper-casing algorithm was wrong and was replaced by a simple call to the Python string's upper() method instead. -Applied patch by Glyph Lefkowitz that fixes the problem with subsequent SQLITE_SCHEMA errors. - Improvement to the row type: rows can now be iterated over and have a keys() method. This improves compatibility with both tuple and dict a lot. - A bugfix for the subsecond resolution in timestamps. - Corrected the way the flags PARSE_DECLTYPES and PARSE_COLNAMES are checked for. Now they work as documented. - gcc on Linux sucks. It exports all symbols by default in shared libraries, so if symbols are not unique it can lead to problems with symbol lookup. pysqlite used to crash under Apache when mod_cache was enabled because both modules had the symbol cache_init. I fixed this by applying the prefix pysqlite_ almost everywhere. Sigh.
2006-04-05upgrade to final version of pysqlite 2.2.0Anthony Baxter-1/+1
2006-04-04Update to pysqlite 2.2.0Anthony Baxter-4/+11
2006-04-01Make ssize_t cleanNeal Norwitz-2/+2
2006-04-01merged the sqlite-integration branch.Anthony Baxter-0/+195
This is based on pysqlite2.1.3, and provides a DB-API interface in the standard library. You'll need sqlite 3.2.2 or later to build this - if you have an earlier version, the C extension module will not be built.