Thread: [SQLObject] SQLite threading bug fixed
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2006-01-23 04:43:32
|
After long last, the SQLite bug with threading should be fixed. Though with :memory: databases it probably isn't safe -- there doesn't seem to be any way to handle memory databases from multiple threads safely in SQLite. That's too bad. This has been applied to the trunk and the 0.7-bugfix branch. I'd encourage people to try that branch and remove any SQLite-specific hacks they might have. TG in particular has such a hack, which involves creating new SQLObject connection objects instead of reusing them as you would most SQLObject connections. I hope to put out an 0.7.1 release soon. To install the stable bugfix branch, you can do: easy_install SQLObject==bugfix Or check out from http://svn.colorstudy.com/SQLObject/branches/0.7-bugfix -- Ian Bicking | ia...@co... | http://blog.ianbicking.org |
From: Kevin D. <da...@gm...> - 2006-01-23 05:17:38
|
Cool. Have you also taken care of the threadsafety issue with object creation? There's a patch in the TG trac for it that I mentioned here a few days back. Kevin On 1/22/06, Ian Bicking <ia...@co...> wrote: > > After long last, the SQLite bug with threading should be fixed. Though > with :memory: databases it probably isn't safe -- there doesn't seem to > be any way to handle memory databases from multiple threads safely in > SQLite. That's too bad. This has been applied to the trunk and the > 0.7-bugfix branch. I'd encourage people to try that branch and remove > any SQLite-specific hacks they might have. TG in particular has such a > hack, which involves creating new SQLObject connection objects instead > of reusing them as you would most SQLObject connections. |
From: Ian B. <ia...@co...> - 2006-01-23 06:20:01
|
Kevin Dangoor wrote: > Cool. Have you also taken care of the threadsafety issue with object > creation? There's a patch in the TG trac for it that I mentioned here > a few days back. I'm not able to find that ticket...? -- Ian Bicking | ia...@co... | http://blog.ianbicking.org |