[mythtv-commits] Ticket #4927: Handle duplicate RecordFilePrefix values for a host in storagegroup DB upgrade

MythTV mythtv at cvs.mythtv.org
Tue Mar 11 23:30:40 UTC 2008


#4927: Handle duplicate RecordFilePrefix values for a host in storagegroup DB
upgrade
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |       Owner:  ijr       
     Type:  patch                             |      Status:  new       
 Priority:  minor                             |   Milestone:  unknown   
Component:  mythtv                            |     Version:  0.21-fixes
 Severity:  medium                            |     Mlocked:  0         
----------------------------------------------+-----------------------------
 The DB upgrade for storagegroup (1171) has failed on multiple users'
 machines when their DB contained multiple values for RecordFilePrefix for
 a given host.  The attached patch modifies the 1171 SQL to select only
 distinct values for hostname, data (so we don't violate the grouphostdir
 index on storagegroup) by using a GROUP BY clause.

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


More information about the mythtv-commits mailing list