Re: [pysqlite] Savepoint support

Gerhard Häring <[email protected]> Wed, 03 Jun 2009 09:44:52 +0200
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
jason kirtland wrote:
> I'm having trouble getting the new sqlite nested transactions working
> through pysqlite- savepoints seem to get lost. Am I doing something
> wrong below? [...]

That's not supported through the DB-API, so you have to do all
transaction management yourself. You need to switch to autocommit then.

cx = dbapi.connect(":memory:", isolation_level=None)

Then it should work.

-- Gerhard