On Thursday 24 February 2005 12:21, john roberts wrote: > I've been building out of CVS for over a year now - and just saw this with mythgame (CVS as of this morning): > > This is after a distclean/make/install of mythtv. I've also made sure the old lib's were gone. > > Anyone seen this? >
If you're using CVS, you should be subscribe to the mythtv-commits list: ---------------------------------------------------------------------------- Changes committed by avalanche on Wed Feb 23 05:04:35 2005 Log Message: This 15262 (that's fifteenthousendtwohundredsomething) line patch is my entry in the category for "Biggest consecutive patch that does, well, uh, nothing". From a users point of view that is. This patch converts Myth's internals to use a connection pool for database stuff, mostly driven by the need to workaround a bug in Qt/MySql. DB connections crash if closed and reopened, as debugged by Jim Perry & others, see -dev list for details. Added benefit, all DB stuff is simplified. No more passing DB connections & locks around. Here's some info for working with the new DB stuff: Rule #1: Never use QSqlQuery or QSqlDatabase directly. Rule #2: Never use QSqlQuery or QSqlDatabase directly. Rule #3: Use MSqlQuery for all DB stuff. MSqlQuery is tied to a connection pool in Mythcontext. DB connections are automatically set up by creating an MSqlQuery object. Use the helper functions to create an MSqlQuery object e.g. MSqlQuery query(MSqlQuery::InitCon()); The MSqlQuery object gets exclusive access to the connection for its lifetime. The connection is automatically returned when the MSqlQuery object is destroyed. For more details look at libmyth/mythdbcon.cpp/h, that's where most of the DB action is now going on. *Note: This will break the plugins, they should be updated shortly. ---------------------------------------------------------------------------- Changes committed by avalanche on Wed Feb 23 20:41:08 2005 Log Message: Restore MythMusic, MythVideo and MythDVD to previous glory, in other words, to work with current CVS. No, other plugins are not ready yet. Yes, shortly. ---------------------------------------------------------------------------- -JAC _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
