summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,Serhiy Storchaka2013-04-281-4/+4
| | | | | | | 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 Storchaka2013-02-071-0/+66
|
* Merged code from pysqlite 2.6.0.Gerhard Häring2010-03-051-1/+1
|
* Fixes issue #3103. In the sqlite3 module, made one more function static. All ↵Gerhard Häring2008-09-121-1/+1
| | | | 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.
* Updated to pysqlite 2.4.1. Documentation additions will come later.Gerhard Häring2008-02-291-2/+7
|
* Forward-port of commit 59184.Gerhard Häring2007-12-111-3/+9
| | | | | | | | | - Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where a statement recompilation with no bound parameters lead to a segfault - Backported a fix necessary because of an SQLite API change in version 3.5. This prevents segfaults when executing empty queries, like our test suite does
* Merged changes from standalone version 2.3.3. This should probably all beGerhard Häring2007-01-141-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix spelling.Georg Brandl2006-07-281-1/+1
|
* Update to pysqlite 2.2.0Anthony Baxter2006-04-041-61/+10
|
* merged the sqlite-integration branch.Anthony Baxter2006-04-011-0/+147
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.