From: Felix Schwarz <felix.schwarz@we...> - 2007-01-14 17:21:17
I'm trying to implement a workaround for the MySQL Timestamp format
incompatibility (see my posts some days ago) in TurboGears. I'm nearly finished
but my unit tests don't work.
To be more precise, I wrote two tests and the workaround requires that parameter
is passed to MySQLdb at connection time. So my first test works fine. The second
one (which requires the parameter NOT to be passed) does fail because no new
connection is initiated but there is some connection caching. Is there a way to
shut down all existing connections without messing around to much in SQLObject's
On Sun, Jan 14, 2007 at 06:20:58PM +0100, Felix Schwarz wrote:
> there is some connection caching. Is there a way to
> shut down all existing connections without messing around to much in SQLObject's
There are two caches: dbconnection.ConnectionURIOpener.cachedURIs that
maps URI to DBAPI object, and DBAPI._pool that stores a pool of available
Oleg Broytmann http://phd.pp.ru/ phd@...
Programmers don't die, they just GOSUB without RETURN.