Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor ↵ | Oren Milman | 2017-11-08 | 1 | -0/+5 |
| | | | | object is uninitialized (GH-4333) | ||||
* | bpo-31770: Prevent a crash and refleaks when calling ↵ | Miss Islington (bot) | 2017-11-06 | 1 | -8/+7 |
| | | | | | sqlite3.Cursor.__init__() more than once (GH-3968) (#4302) (cherry picked from commit e56ab746a965277ffcc4396d8a0902b6e072d049) | ||||
* | consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563) | Benjamin Peterson | 2017-09-13 | 2 | -2/+2 |
| | | | This no-op change makes 2.7 more consistent with 3.x to ease comparison and backports. | ||||
* | revert dd13098a5dc2 (#29006, #10513) | Benjamin Peterson | 2017-01-16 | 1 | -1/+0 |
| | |||||
* | revert 030e100f048a (#29006, #10513) | Benjamin Peterson | 2017-01-11 | 1 | -0/+1 |
| | |||||
* | fix refleak in null-containing error case (#21147) | Benjamin Peterson | 2016-12-03 | 1 | -1/+2 |
| | |||||
* | Issue #28480: Avoid label at end of compound statement --without-threads | Martin Panter | 2016-10-20 | 1 | -0/+1 |
| | |||||
* | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-10-01 | 1 | -3/+5 |
| | | | | if pass invalid string-like object as a name. Original patch by Xiang Zhang. | ||||
* | fix unused variable warnings in pysqlite (closes #27967) | Benjamin Peterson | 2016-09-06 | 2 | -6/+2 |
| | |||||
* | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | 2016-08-29 | 1 | -2/+11 |
| | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
* | Issue #10513: Fix a regression in Connection.commit() | Berker Peksag | 2016-08-26 | 1 | -1/+0 |
| | | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa | ||||
* | English spelling and grammar fixes | Martin Panter | 2016-07-11 | 2 | -2/+2 |
| | |||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 2 | -6/+6 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 2 | -9/+9 |
| | |||||
* | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -2/+2 |
| | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 2 | -16/+10 |
| | | | | macro Py_SETREF. | ||||
* | Issue #24257: Fixed segmentation fault in sqlite3.Row constructor with faked | Serhiy Storchaka | 2015-05-22 | 1 | -1/+1 |
| | | | | cursor type. | ||||
* | Issue #20274: When calling a _sqlite.Connection, it now complains if passed | Larry Hastings | 2015-05-08 | 1 | -3/+6 |
| | | | | | | any keyword arguments. Previously it silently ignored them. Also: Remove ignored and erroneous "kwargs" parameters from three METH_VARARGS methods on _sqlite.Connection. | ||||
* | Issue #21147: sqlite3 now raises an exception if the request contains a null | Serhiy Storchaka | 2014-09-11 | 2 | -3/+7 |
| | | | | character instead of truncate it. Based on patch by Victor Stinner. | ||||
* | Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular | Serhiy Storchaka | 2014-08-06 | 1 | -11/+17 |
| | | | | | when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method. | ||||
* | Issue #10203: sqlite3.Row now truly supports sequence protocol. In particular | Serhiy Storchaka | 2014-05-28 | 1 | -2/+24 |
| | | | | it supports reverse() and negative indices. Original patch by Claudiu Popa. | ||||
* | Issue #20437: Fixed 43 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 2 | -8/+4 |
| | |||||
* | Issue #20026: Fix the sqlite module to handle correctly invalid isolation level | Victor Stinner | 2013-12-19 | 1 | -1/+4 |
| | | | | (wrong type). | ||||
* | Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, | Serhiy Storchaka | 2013-04-28 | 3 | -7/+7 |
| | | | | | | | such as was shipped with Centos 5 and Mac OS X 10.4. This bug was already fixed in issue14572 for 2.7 only and then it was backported back from 3.3 in issue17073. | ||||
* | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 5 | -63/+134 |
| | |||||
* | Issue #14572: Prevent build failures with pre-3.5.0 versions of | Ned Deily | 2012-05-19 | 1 | -2/+2 |
| | | | | sqlite3, such as was shipped with Centos 5 and Mac OS X 10.4. | ||||
* | sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures | Petri Lehtinen | 2012-02-21 | 1 | -5/+8 |
| | | | | Closes #8033. | ||||
* | Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵ | Petri Lehtinen | 2012-02-06 | 2 | -10/+20 |
| | | | | ProgrammingError now. | ||||
* | sqlite3: Handle strings with embedded zeros correctly | Petri Lehtinen | 2012-02-01 | 2 | -11/+13 |
| | | | | Closes #13676. | ||||
* | Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale. | Antoine Pitrou | 2011-10-04 | 1 | -2/+2 |
| | | | | Reported and diagnosed by Thomas Kluyver. | ||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Remove an unnecessary variable. | Brett Cannon | 2010-05-05 | 1 | -3/+0 |
| | | | | Found using Clang's static analyzer. | ||||
* | sqlite3: Fix a segfault on calling a connection with something else than a | Victor Stinner | 2010-03-13 | 1 | -0/+6 |
| | | | | | | | | 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 code from pysqlite 2.6.0. | Gerhard Häring | 2010-03-05 | 17 | -65/+323 |
| | |||||
* | #5615: make it possible to configure --without-threads again. | Georg Brandl | 2009-04-05 | 2 | -6/+32 |
| | |||||
* | Issue #5341: Fix a variety of spelling errors. | Mark Dickinson | 2009-02-21 | 1 | -1/+1 |
| | |||||
* | Issue #3846: Release GIL during calls to sqlite3_prepare. This improves ↵ | Gerhard Häring | 2008-09-12 | 2 | -0/+6 |
| | | | | concurrent access to the same database file from multiple threads/processes. | ||||
* | Fixes issue #3103. In the sqlite3 module, made one more function static. All ↵ | Gerhard Häring | 2008-09-12 | 8 | -28/+28 |
| | | | | 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. | ||||
* | sqlite3 module: Mark iterdump() method as "Non-standard" like all the other ↵ | Gerhard Häring | 2008-09-12 | 1 | -1/+1 |
| | | | | methods not found in DB-API. | ||||
* | Silenced a compiler warning in the sqlite module | Christian Heimes | 2008-08-22 | 1 | -2/+2 |
| | | | | | Modules/_sqlite/row.c:187: warning: suggest parentheses around && within || Reviewed by Benjamin Peterson | ||||
* | #3312: fix two sqlite3 crashes. | Georg Brandl | 2008-07-16 | 2 | -3/+13 |
| | |||||
* | Issue #3153: sqlite leaks on error. | Alexandre Vassalotti | 2008-07-13 | 2 | -23/+12 |
| | | | | Changed statements of the form Py_DECREF(obj), obj = 0 to Py_CLEAR(obj). | ||||
* | Expand docstrings of sqlite3 functions. | Georg Brandl | 2008-06-22 | 1 | -12/+52 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 7 | -50/+50 |
| | | | | | | | 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. | ||||
* | Fixed rowcount for SELECT statements. They're -1 now (again), for better ↵ | Gerhard Häring | 2008-05-31 | 2 | -15/+11 |
| | | | | DB-API 2.0 compliance. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 7 | -50/+50 |
| | |||||
* | Implemented feature request 2157: Converter names are cut off at '(' | Gerhard Häring | 2008-05-04 | 1 | -1/+5 |
| | | | | | | characters. This avoids the common case of something like 'NUMBER(10)' not being parsed as 'NUMBER', like expected. Also corrected the docs about converter names being case-sensitive. They aren't any longer. | ||||
* | Applied sqliterow-richcmp.diff patch from Thomas Heller in Issue2152. The | Gerhard Häring | 2008-05-04 | 1 | -2/+26 |
| | | | | sqlite3.Row type is now correctly hashable. | ||||
* | SQLite requires 64-bit integers in order to build. So the whole HAVE_LONG_LONG | Gerhard Häring | 2008-05-04 | 1 | -4/+0 |
| | | | | #ifdefing was useless. | ||||
* | Update sqlite3 module to match current version of pysqlite. | Gerhard Häring | 2008-03-28 | 8 | -15/+35 |
| |