[mythtv-commits] Ticket #4823: connections variable is useless

MythTV mythtv at cvs.mythtv.org
Mon Mar 3 22:47:00 UTC 2008


#4823: connections variable is useless
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  ijr       
     Type:  defect                           |       Status:  closed    
 Priority:  minor                            |    Milestone:  0.22      
Component:  mythtv                           |      Version:  0.21-fixes
 Severity:  low                              |   Resolution:  invalid   
  Mlocked:  0                                |  
---------------------------------------------+------------------------------
Changes (by nigel):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 That variable isn't useless, it just isn't set yet. Observe line 3488:
 {{{
     // FIXME: Don't know how to determine this
     //if (getActiveConnections() > 1)
     //    connections = true;
 }}}
 When we work out an efficient way to find the clients that are using a
 given database, then getActiveConnections() will be written, and this
 extra variable will be useful. Until then though, I would like to keep it
 there. It is only one bool that is checked a few times at startup, after
 all.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4823#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list