Re: MySQLdb "begin()" -

2006-04-25 Thread shearichard
Thanks for your advice. In fact subsquent to posting I started using ... conn.autocommit = False ... as a synonm for ... conn.begin() ... and as you say that does the job. (Sorry i should have said it's not practicable to turn off autocommit always [or rather it may be but I'm not about to shak

Re: MySQLdb "begin()" -

2006-04-25 Thread shearichard
"What do i expect the begin method to do" ? Explicitly start a transaction (and therefore suppress autocommits) in an environment where autocommit is on. No i haven't read the pep, thanks for that. -- http://mail.python.org/mailman/listinfo/python-list

Re: MySQLdb "begin()" -

2006-04-25 Thread Geoffrey Clements
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi - Feeling a bit weird about this but I cannot find the 'begin' > method on a connection object of MySQLdb. Can anyone explain why ? > > I'm using version 1.2.0 which is pretty recent and I've read that > 'begin' should be a method of

MySQLdb "begin()" -

2006-04-25 Thread shearichard
Hi - Feeling a bit weird about this but I cannot find the 'begin' method on a connection object of MySQLdb. Can anyone explain why ? I'm using version 1.2.0 which is pretty recent and I've read that 'begin' should be a method of connection but it's not there ! Feeling pretty puzzled ! Below are t