[DB-SIG] MySQLdb: DeprecationWarning: begin() is non-standard and will be removed in 1.3
Chris Cogdon
chris at cogdon.org
Fri Aug 11 02:26:11 CEST 2006
On Aug 10, 2006, at 4:48 PM, Paul DuBois wrote:
> I'm seeing this from my scripts that use MySQLdb now:
>
> ./transaction.py:63: DeprecationWarning: begin() is non-standard
> and will be
> removed in 1.3
> conn.begin ()
>
> So, what's the standard thing to do? Just omit the begin() calls?
> (Given
> that MySQLdb starts with auto-commit disabled, presumably that
> means only
> commit() and rollback() are needed?)
Yes, that's right. Just commit and rollback are needed.
--
("`-/")_.-'"``-._ Chris Cogdon <chris at cogdon.org>
. . `; -._ )-;-,_`)
(v_,)' _ )`-.\ ``-'
_.- _..-_/ / ((.'
((,.-' ((,/ fL
More information about the DB-SIG
mailing list