[DB-SIG] Behaviour of .commit()/.rollback() when autocommit=True

Dieter Maurer dieter at handshake.de
Tue Nov 18 14:05:52 EST 2003


Denis S. Otkidach wrote at 2003-11-17 19:39 +0300:
 > Only 1) and 2) are acceptable.  Rollback MUST raise exception if
 > it ever called since transaction can't be rolled back.

I disagree: the transaction can be rolled back, at it is always empty...

But, as was already pointed out: the DB-API specification gives you
right and me wrong.

-- 
Dieter



More information about the DB-SIG mailing list