Re: Transaction isolation
Gerhard Häring <[email protected]>
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
Martin Jenkins wrote: > Gerhard Häring wrote: >>> Traceback (most recent call last): >>> File "<interactive input>", line 1, in <module> >>> OperationalError: SQL logic error or missing database >>> >>> >> That's why SQLite becomes so confused here. The input doesn't make any >> sense for executemany(). > > Actually, it's a bug in the wrapper. Impossible ;-) > SQLite (the database) correctly reports a "nested transaction" error but > the pysqlite wrapper does not. IIRC this is because the wrapper does not > reset the statement before reading the error code. Thanks for alerting me of this. I've checked in a fix in SVN. -- Gerhard