Am 20.10.2011 05:55, schrieb Steven D'Aprano:
> # Make consumer threads.
> class ThreadSql(threading.Thread):
> def __init__(self, queue):
> threading.Thread.__init__(self)
> self.queue = queue
> # Open database connection instance
> self.session = "+++connectio
On Oct 20, 5:55 am, Steven D'Aprano wrote:
> On Wed, 19 Oct 2011 13:14:21 -0700, markus.mj wrote:
> > Hi,
>
> > I am looking for help with following problem. I scripted threaded
> > database query, with session open per thread, and queries delivered
> > through queue. Every open DB session must be
On Wed, 19 Oct 2011 13:14:21 -0700, markus.mj wrote:
> Hi,
>
> I am looking for help with following problem. I scripted threaded
> database query, with session open per thread, and queries delivered
> through queue. Every open DB session must be closed with "abort" or
> "commit", however on which