[python-win32] adodbapi changing autocommit
Tim Roberts
timr at probo.com
Mon Oct 24 13:10:23 EDT 2016
Max Slimmer wrote:
> The adodbapi documentation and code implies that with autocommit =
> False I should only have to call commit (and possibly rollback) and if
> using the connection as a context manager not even those are required.
> If autocommit = False is passed on the initial connect the __init__ of
> the connector handles BeginTrans and subsequent commit and rollbacks
> also leave me with an open trans.
Ah, I missed that subtle distinction. Your modification seems reasonable.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list