[mythtv-users] mythweb2 having some more problems
Isaac Richards
ijr at po.cwru.edu
Thu Aug 7 22:18:35 EDT 2003
On Thursday 07 August 2003 09:11 pm, Chris Petersen wrote:
> > May be a problem with it leaving connections open in the backend, but I
> > dunno...
>
> why open lots of database connections? Shouldn't one always-open
> connection do the trick? Just buffer query output when you need to nest
> loops based on query info.. then again, I'm just talking php/perl
> speak here - don't know much about the C side of things.
The mysql client lib isn't threadsafe, and neither is the part of Qt that uses
is. So, I've gotta have one connection per thread that wants to use the
database.
Isaac
More information about the mythtv-users
mailing list