Re: [pysqlite] Savepoint support

jason kirtland <[email protected]> Fri, 5 Jun 2009 13:42:16 -0700
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
On Wed, Jun 3, 2009 at 12:44 AM, Gerhard H=E4ring<[email protected]> wrote:
> 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 =3D dbapi.connect(":memory:", isolation_level=3DNone)
>
> Then it should work.

Yep, that seems to work.  Thanks!

Cheers,
Jason