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 <[EMAIL PROTECTED]>
     . . `; -._    )-;-,_`)
    (v_,)'  _  )`-.\  ``-'
   _.- _..-_/ / ((.'
((,.-'   ((,/   fL

_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to