MySQLdb UPDATE does nothing
steve.horsley at gmail.com
Fri Sep 16 20:01:10 CEST 2005
Magnus Lycka wrote:
> Steve Horsley wrote:
>> Or, as I found out yesterday, cursor.execute('commit') afterwards.
> The correct way to do it is to close the cursor object, and
> then do "db.commit()". Don't rely on a cursor object to work
> across transaction boundries!
> See e.g. www.thinkware.se/epc2004db/epc04_mly_db.pdf and
Good reference, thank you.
More information about the Python-list