[mythtv-commits] mythtv commit: r15902 - in trunk/mythtv by cpinkham

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


      Author: cpinkham
        Date: 2008-02-11 05:11:48 +0000 (Mon, 11 Feb 2008)
New Revision: 15902
   Changeset: http://cvs.mythtv.org/trac/changeset/15902

Modified:

   trunk/mythtv/libs/libmythtv/dbcheck.cpp
   trunk/mythtv/libs/libmythtv/dbcheck.h
   trunk/mythtv/programs/mythbackend/main.cpp
   trunk/mythtv/programs/mythfrontend/main.cpp
   trunk/mythtv/programs/mythtv-setup/main.cpp

Log:

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.






More information about the mythtv-commits mailing list