[mythtv-commits] Ticket #9875: Multiple setting definitions in mythconverg.settings

MythTV noreply at mythtv.org
Mon Jun 27 07:16:01 UTC 2011


#9875: Multiple setting definitions in mythconverg.settings
------------------------------------+--------------------------------------
 Reporter:  fraser@…                |           Type:  Bug Report - General
   Status:  new                     |       Priority:  minor
Milestone:  unknown                 |      Component:  MythTV - General
  Version:  Unspecified             |       Severity:  low
 Keywords:  database, settings      |  Ticket locked:  0
------------------------------------+--------------------------------------
 I've noticed some settings are getting duplicated in the settings table.
 While most have the same setting, some do not. (SecurityPin,
 TruncateDeletesSlowly)
 I noticed this when auto-enabling a user job (since I can't find the
 option in the normal configuration menu - am I blind?)

 *cough*
 This is what happens when tables don't have a primary key... :)

 {{{
 SELECT Count(*) As Number, value,GROUP_CONCAT(data)
 FROM settings
 GROUP BY value,hostname
 HAVING Number > 1
 }}}


 returns

 {{{
 Number  value                   GROUP_CONCAT(data)
 2       BackendServerIP         127.0.0.1,127.0.0.1
 2       BackendServerPort       6543,6543
 2       BackendStatusPort       6544,6544
 2       DisableFirewireReset    0,0
 2       JobAllowCommFlag        1,1
 2       JobAllowTranscode       1,1
 2       JobAllowUserJob1        1,1
 2       JobAllowUserJob2        0,0
 2       JobAllowUserJob3        0,0
 2       JobAllowUserJob4        0,0
 2       JobQueueCheckFrequency  60,60
 2       JobQueueCPU             1,1
 2       JobQueueMaxSimultaneousJobs     2,2
 2       JobQueueWindowEnd       23:59,23:59
 2       JobQueueWindowStart     00:00,00:00
 2       MiscStatusScript        ,
 2       MythFillFixProgramIDsHasRunOnce         1,1
 2       SecurityPin             0000,
 2       TruncateDeletesSlowly   1,0
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9875>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list