[Zope-DB] Re: 2 sql methods issue (was Re: SQL Relay)

M.-A. Lemburg mal at egenix.com
Thu Nov 27 03:45:03 EST 2003


Dieter Maurer wrote:
> M.-A. Lemburg wrote at 2003-11-26 10:41 +0100:
>  > ...
>  > This sounds a lot like it is Zope's ZODB locking something.
> 
> Really?

I'm just guessing here. It would need some serious debugging
to really find out what's going wrong.

In the case of the mxODBC Zope DA this can easily be done by
setting the debug flag to a non-zero value, e.g.

from Products.mxODBCZopeDA import ZopeDA
ZopeDA._debug = 2

(this is an undocumented feature :-)

>   Usually ZODB locks do not block other Zope processes (exception:
>   the "commit" lock in a ZEO setup, but usually only for a very
>   short time).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Nov 27 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC.Zope Database Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::




More information about the Zope-DB mailing list