Re: New autocommit setting ( updated patch )

2006-11-01 Thread Ilia Kantor
Sorry, typo in pervious message patch --- db/backends/mysql/base.py (revision 3954) +++ db/backends/mysql/base.py (working copy) @@ -96,9 +96,17 @@ if settings.DATABASE_PORT: kwargs['port'] = int(settings.DATABASE_PORT) self.connection = Database.co

New autocommit setting

2006-11-01 Thread Ilia Kantor
For Mysql, cursor for same SQL returns same results between requests if connection.commit() was not called. Sometimes that's a problem, because data changes, and commit never happens. There are also other reasons why autocommit may be useful, so here's a patch to introduce new optional setting