Re: [pysqlite] database locked
Gerhard Häring <[email protected]> Tue, 27 May 2008 21:57:45 +0200
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dennis Lee Bieber wrote: > [...] > Unfortunately, information on the range of exceptions is not well > documented. At the C level there is an SQLITE_BUSY > > Ah: > http://oss.itsystementwicklung.de/trac/pysqlite/wiki/ApswVsPysqlite > > """ > In case of SQLITE_BUSY, pysqlite2 transparently tries to execute the > statement again repeatedly, until a specified timeout is reached, then > raises an exception > """ > [...] This is not true since Fri Dec 09 00:14:33 2005 (about pysqlite version 2.1.1). Sine then, pysqlite uses the SQLite API call sqlite3_busy_timeout(). I also updated the Wiki page you mentioned by removing entries that are no longer relevant. - -- Gerhard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIPGe5dIO4ozGCH14RAsIqAJ9vsV9I5z2FFHqmn6MaCH7YzWAK1ACfWyzE I7p4fgvKc3B6EiDwpbpjqXk= =ahbq -----END PGP SIGNATURE-----