[Twisted-Python] adapi.Connection._runQuery always does rollback()

Justin Ryan justin at gnubia.net
Sat Apr 26 12:47:31 EDT 2003

> > PS. This buglet brought to you by MySQL which does not support rollback(), 
> >     and tells you with an exception.
> Then the database module you are using doesn't adhere to DB-API 2.0[1], which
> adbapi requires.

What type of database are you accessing?  Would transactions be
helpful?  MySQL has transaction-safe tables, you simply have to be
explicit when creating them (and all of your tables must be transaction
safe to avoid 'partial' rollbacks..).


More information about the Twisted-Python mailing list