[mythtv-commits] mythtv commit: r7977 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Nov 21 23:06:34 EST 2005


      Author: cpinkham
        Date: 2005-11-22 04:06:33 +0000 (Tue, 22 Nov 2005)
New Revision: 7977
   Changeset: http://cvs.mythtv.org/trac/changeset/7977

Modified:

   trunk/mythtv/libs/libmyth/mythcontext.cpp
   trunk/mythtv/libs/libmyth/mythcontext.h
   trunk/mythtv/libs/libmyth/mythdbcon.cpp
   trunk/mythtv/libs/libmyth/mythdbcon.h

Log:

Add a "-v database" debugging option that causes MSqlQuery to print out all
SQL commands as they are run.  On a running Myth system, this prints out a
lot of data so it's not something you want to leave turned on all the time.
I know we could get the same info from the MySQL logs, but telling a user to
rerun a program with "-v database" is much easier than talking them though
turning on mysql logging and going and grepping the logfile, and by using
VERBOSE, we know the exact sequence of events.

NOTE: This requires a "make clean" since it updates the libmyth binary version.






More information about the mythtv-commits mailing list