[mythtv-commits] Ticket #8733: (insert|update)_dtv_multiplex debug output does not include values being updated

MythTV mythtv at cvs.mythtv.org
Thu Aug 5 08:20:50 UTC 2010


#8733: (insert|update)_dtv_multiplex debug output does not include values being
updated
-----------------------------------------------------------------+----------
 Reporter:  Nick Morrott <knowledgejunkie (at) gmail (dot) com>  |       Owner:  danielk   
     Type:  defect                                               |      Status:  new       
 Priority:  minor                                                |   Milestone:  unknown   
Component:  MythTV - Channel Scanner                             |     Version:  Trunk Head
 Severity:  medium                                               |     Mlocked:  0         
-----------------------------------------------------------------+----------
 The VB_CHANSCAN output emitted to the logfile when insert_dtv_multiplex()
 in called (line 193 of mythtv/libs/libmythtv/channelutil.cpp) does not
 contain the actual values of the settings being inserted/updated. Instead,
 the string contains the names of the variables being bound in the SQL
 query but not their values.

 This results in the log being "spammed" with the following duplicated line
 for each channel added (and for DVB-S, this can be several hundred
 channels).

 {{{
 INSERT INTO dtv_multiplex   (sourceid,        sistandard,
 frequency,  modulation, transportid, networkid, symbolrate, bandwidth,
 polarity, inversion, transmission_mode, fec, constellation, hierarchy,
 hp_code_rate, lp_code_rate, guard_interval, mod_sys, rolloff) VALUES
 (:SOURCEID,      :SISTANDARD,       :FREQUENCY1, :MODULATION,
 :TRANSPORTID, :NETWORKID, :SYMBOLRATE, :BANDWIDTH, :POLARITY, :INVERSION,
 :TRANS_MODE, :INNER_FEC, :CONSTELLATION, :HIERARCHY, :HP_CODE_RATE,
 :LP_CODE_RATE, :GUARD_INTERVAL, :MOD_SYS, :ROLLOFF);
 }}}

 The log of a full UK DVB-T scan which includes this is attached to #8731

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


More information about the mythtv-commits mailing list