On Sat, Dec 13, 2008 at 11:36:55PM +0200, Iwan Vosloo wrote:
> What happens is this line (dbconnection.py):
> 755           attr = getattr(self._dbConnection, attr)
> 
> is called while self is still the Transaction, for attr
> 'server_version'.
> 
> This returns the server_version (bound) method on the connection, and
> calls that with self == the connection. Inside there is where the
> self.queryOne is called:
> 
> 304               server_version = self.queryOne("SELECT version()")[0]

   Thank you for the analysis. I have to think about it...

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to