[mythtv-commits] Ticket #4625: Verify TV Database Schema Version on startup

MythTV mythtv at cvs.mythtv.org
Mon Feb 11 05:11:51 UTC 2008


#4625: Verify TV Database Schema Version on startup
----------------------------------------------+-----------------------------
 Reporter:  sphery <mtdean at thirdcontact.com>  |        Owner:  cpinkham
     Type:  patch                             |       Status:  closed  
 Priority:  critical                          |    Milestone:  0.21    
Component:  mythtv                            |      Version:  unknown 
 Severity:  high                              |   Resolution:  fixed   
  Mlocked:  0                                 |  
----------------------------------------------+-----------------------------
Changes (by cpinkham):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 (In [15902]) Add some additional DB Schema version checking.

 mythbackend
    - can upgrade schema (as before) if schema is older than expected
    - can not run if schema is newer than expected

 mythtv-setup
    - can upgrade schema (as before) if schema is older than expected
    - can not run if schema is newer than expected

 mythfrontend
    - can _only_ upgrade schema if '-u' or '--upgrade-schema' given as
 argument
    - can not run if schema is newer than expected

 This means that you now need to startup mythbackend or mythtv-setup first
 whenever the schema needs to be upgraded, or you can run mythfrontend with
 the -u command line argument.

 Closes #4625 using patch by Michael T. Dean.

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


More information about the mythtv-commits mailing list