[mythtv-commits] Ticket #4029: [fix] Cannot update schedules after an upgrade

MythTV mythtv at cvs.mythtv.org
Sat Sep 29 18:39:33 UTC 2007


#4029: [fix] Cannot update schedules after an upgrade
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  danielk
     Type:  defect     |       Status:  new    
 Priority:  minor      |    Milestone:  unknown
Component:  mythtv     |      Version:  0.20.2 
 Severity:  medium     |   Resolution:         
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by tilghman at mail.jeffandtilghman.com):

 In the branch 0.20-fixes (svn), in libs/libmythtv/dbcheck.cpp (revision
 14557), see line number 2935.  You'll see that the recordid is specified
 as auto_increment.  Now look at the upgrade path from previous dbschemas.
 You'll find that the recordid field never gets changed to have that
 attribute.  That attribute is absolutely critical, as the recordid field
 is inserted in multiple places with the value 0, which triggers mysql to
 use the next auto-incremented value in its place.

 That is why you cannot change the schedule on an upgraded mythtv box and
 why this needs to be fixed.

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


More information about the mythtv-commits mailing list