Christoph Zwerschke schrieb:
> Btw, I was trying to run the MiddleKit test suite, but I get many 
> errors. For instance when running "python Test.py MKDelete" I get a 
> "Lock wait timeout exceeded" (this hasn't anything to do with the lock 
> in the patch, I get it also without your patch).

I had another look at the MiddleKit tests and found that the problems 
are all caused by the fact that newer MySQLdb versions have autocommit 
disabled by default. MiddleKit however (at least the whole test suite) 
assumes autocommit is switched on.

I have now patched MySQLObjectStore so that autocommit is explicitly 
activated for all MySQLDB connections, including those coming from a 
connection pool. I have also added an autocommit flag to the storeArgs, 
so you can also still disable the autocommit if you like.

All MiddleKit tests are now runing for me.

-- Christoph

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to