MySQLdb UPDATE does nothing

Steve Horsley steve.horsley at gmail.com
Thu Sep 15 23:02:58 CEST 2005


Rowdy wrote:
>> A similar question was asked back in July, someone posted this:
> 
> <quote>
> If it's any help, using
> 
>      cursor.execute("set autocommit = 1")
> 
> before doing anything else works nicely unless you actually need
> transactions.
> </quote>

Or, as I found out yesterday, cursor.execute('commit') afterwards.

Steve



More information about the Python-list mailing list