Changes between Version 20 and Version 21 of PySqlite
- Timestamp:
- Oct 3, 2006, 9:34:51 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PySqlite
v20 v21 11 11 12 12 Trac 0.9 works best with '''[http://www.sqlite.org/version3.html SQLite 3.x]''', 13 like SQLite 3.2.8 or SQLite 3.3.x .13 like SQLite 3.2.8 or SQLite 3.3.x (latest is 3.3.7). 14 14 15 15 Pay attention to … … 40 40 === The Pysqlite2 bindings === 41 41 42 The most stable versions are '''2.0.7''' and '''2.1.3'''. 43 44 '''2.2.2''' is probably rock solid as well, as it has been 45 extensively reviewed during its inclusion in Python 2.5. 46 47 48 Detailed release information: 42 The most stable version is now '''2.3.2'''. 43 44 Detailed information about older releases: 49 45 * either the 1.x release branch of PySqlite 50 46 * version 1.1.6 as of this writing, … … 57 53 This release branch features a new statement cache and 58 54 a better handling of concurrent write operations. 59 * the brand new''2.2.0'' version appears to work with Trac as well60 (I tested the 2.4 egg from init rd on Windows, and on Linux I55 * the ''2.2.0'' version appears to work with Trac as well 56 (I tested the 2.4 egg from initd on Windows, and on Linux I 61 57 built it from source, linking with sqlite-3.3.4; so far both 62 58 are working perfectly) … … 144 140 request triggerd an attempted to write. 145 141 There are probably a few things that could be enhanced in the 146 future to handle this situation, like automatic retry (or improve 147 the session code). 142 future to handle this situation, like automatic retry, see #3446. 143 144 Also, is this error is somehow inevitable with SQLite, we should make 145 the error message a bit more "user friendly" (#3503). 148 146 149 147 The lock error is also much more frequent if SQLite is used in a 150 148 multi-threaded environment (like TracStandalone or TracModPython) 151 149 but the library was not compiled to be thread-safe. 152 See above [wiki:PySqlite#Buildingsqliteyourself building from source] 153 and #2170. 150 See above, [#BuildingSQLiteyourself building from source], and #2170. 154 151 155 152 The real problem with this occurs when ''all'' requests to Trac … … 165 162 Upgrading Trac and Pysqlite will solve the issue (see #2345) 166 163 164 See also: SQLite:DatabaseIsLocked. 165 167 166 ==== `ProgrammingError: library routine called out of sequence` ==== 168 167 169 168 This happens on MacOS X, and is still an open issue (see #2969) 169 170 See also: SQLite:LibraryRoutineCalledOutOfSequence. 170 171 171 172 ==== `Warning: You can only execute one statement at a time.` ==== … … 214 215 ([http://projects.edgewall.com/trac/ticket/2170#change_8 details]) 215 216 217 Segmentation faults can also happen in multi-threaded servers using a SQLite library which has ''not'' been configured to be multi-thread safe (see [#BuildingSQLiteyourself above]). 216 218 217 219 '''P.S. Note that despite of all of the above, for some (most?) users, SQLite/Pysqlite works flawlessly :)'''