[mythtv-commits] Ticket #7539: Improve logging in mythdbconn

MythTV mythtv at cvs.mythtv.org
Tue Nov 10 23:32:29 UTC 2009


#7539: Improve logging in mythdbconn
------------------------------+---------------------------------------------
 Reporter:  Dibblah           |       Owner:  ijr    
     Type:  enhancement       |      Status:  new    
 Priority:  minor             |   Milestone:  unknown
Component:  MythTV - General  |     Version:  head   
 Severity:  low               |     Mlocked:  0      
------------------------------+---------------------------------------------
 Currently, when Myth has -v database specified, logging shows queries
 going to the server.

 The aim of this patch is to improve this logging:
 1. Show which database connection each query is assigned to. This helps to
 differentiate between different threads accessing the database
 concurrently.
 2. With -v database,extra the logging includes the full results of each
 query.
 3. Each query returns the size of the result set.

 I am not sure 3 is actually a good idea, since it is dependent on mysql,
 essentially.

 This is a first draft - I intend to split the change into it's functional
 components.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7539>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list