[mythtv-commits] Ticket #4029: [fix] Cannot update schedules after an upgrade
MythTV
mythtv at cvs.mythtv.org
Sat Sep 29 04:09:22 UTC 2007
#4029: [fix] Cannot update schedules after an upgrade
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: blocker | Milestone: unknown
Component: mythtv | Version: 0.20.2
Severity: high | Mlocked: 0
-----------------------+----------------------------------------------------
After an upgrade from an earlier version of MythTV to 0.20.2, any attempt
to update the recording schedules fails, whether it is attempted from
within mythfrontend or through mythweb. The problem is that in the
database upgrade statements, record.recordid is created WITHOUT the
AUTO_INCREMENT attribute, whereas if the table is created by
libmythtv/dbcheck.cpp, it is created WITH the AUTO_INCREMENT attribute.
Fix is fairly simply, just increment the database schema version and add a
MySQL statement for that version upgrade to ADD the AUTO_INCREMENT
attribute to record.recordid.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4029>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list