I realise that the DB-API says that MySQLdb has to disable autocommit by default, however due to recent changes in MySQL whereby this breaks things even with MyISAM tables, this behaviour of MySQLdb has become not only backwards-incompatible, but extremely inconvenient indeed.
Could you please add a keyword parameter to MySQLdb.connect (off by default of course) which, if enabled, prevents MySQLdb from calling autocommit() automatically.
I realise also that people can call autocommit() manually on every connection, however for various reasons this is not at all convenient. In my application I have had to make a fake 'MySQLdb' module which imports the real module and then overwrites the connect() method.
Log in to post a comment.