[mythtv-commits] mythtv commit: r24820 - in trunk/mythtv/libs by mdean

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun May 23 23:23:13 UTC 2010


      Author: mdean
        Date: 2010-05-23 23:23:13 +0000 (Sun, 23 May 2010)
New Revision: 24820
   Changeset: http://svn.mythtv.org/trac/changeset/24820

Modified:

   trunk/mythtv/libs/libmyth/schemawizard.cpp
   trunk/mythtv/libs/libmythtv/dbcheck.cpp

Log:

Fix the DB schema version check.

The most important part of this change is to prevent an app running in a non-interactive session (mythbackend) from running when the DB schema version is newer than the version that the application understands.  This check was broken sometime before 0.23 was released, and mythbackend's running against a newer-than-understood version has been causing confusion for users of a certain distro whose package scripts don't properly restart MythTV applications after an upgrade.

This also modifies the order of operations such that we don't back up the database if the schema version is newer than the understood version--i.e. if we're just going to shut down and not use the database.





More information about the mythtv-commits mailing list