Re: [SQLObject] Re: Concurrency issues...
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2004-03-23 16:52:34
|
On Mar 23, 2004, at 2:31 AM, Chris Gahan wrote: > Can anybody suggest why MySQL would think I was executing an > "out-of-sync" > command? Could it be that the cursor needs to be "closed" before being > returned to the DB? Maybe the object is getting deleted mid-iteration, > and a > connection containing partially-iterated cursor is being returned to > the > pool? Have you run the problem code with debugging on? The output should list connection IDs along with the commands, so you should be able to see if there's something out of sync. -- Ian Bicking | ia...@co... | http://blog.ianbicking.org |